mount / umount

From: Fabrizio Parrella (fabrizio_at_nldesign.com)
Date: 01/06/04

  • Next message: Ryan Sommers: "Re: mount / umount"
    To: current@freebsd.org
    Date: Tue, 6 Jan 2004 10:59:54 -0500
    
    

    I mount a msdos floppy disk with:

    mount -tmsdos /dev/fd0 /mnt/floppy

    and everything works fine..
    when I tried to umount, I got this:

    umount: unmount of /mnt/floppy failed: Resourde temporary  unavailable
    # fd0: hard error cmd=write fsbn 19 (ST0 40<abnrml> ST1 2<write_protect> ST2 0
    cyl 0 hd 1 sec 2
    (this last line repeat every few seconds)

    I have a partition NTFS mounted as RO in the first part of the disk.

    if I check the directory /mnt/floppy I see it empty.

    PLUS, if I try to mount the floppy disk by an user and not as root, I get thie
    message:

    msdosfs: /dev/fd0: Operation not permitted

    I did as root:

    chmod -R 666 /dev/fd*
    and also (a plus?)

    devfs ruleset 10
    devfs rule add path "fd0*" group wheel mode 666
    devfs rule applyset

    naturally the user that I use to mount the floppy is in the group wheel.

    uname -a
    FreeBSD 127.0.0.1 5.2-CURRENT FreeBSD 5.2-CURRENT #3: Mon Jan 5 15:22:38 EST
    2004 fabrizio@127.0.0.1:/usr/obj/usr/src/sys/MYKERNEL i386

                            Fabrizio Parrella

    _______________________________________________
    freebsd-current@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-current
    To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"


  • Next message: Ryan Sommers: "Re: mount / umount"

    Relevant Pages

    • Re: DOS app very slow on VPC7 4 Mac
      ... My Win '98 is on a 'product recovery CD' for the IBM ... Using your VPC7 Win98 container I was able to mount the Cd ... >Is the floppy disk image you refer to above the win98emergency boot ... Steve Jain, Virtual Machine MVP ...
      (microsoft.public.mac.virtualpc)
    • Cant mount a floppy disk
      ... can't get them to mount. ... going to Storage Media and clicking on the floppy disk ... Then I created a desktop link to the floppy device. ...
      (Fedora)
    • FC3 newbie
      ... I have a 256MB Cruzer "memory stick"; which works well with Windoze. ... explains what I need to do to mount this "disk" on my FC3 system. ... a regular 1.4MB floppy disk. ...
      (comp.os.linux.setup)
    • Re: network problem
      ... it'll be at end of service life -- ... I still haven't been able to figure out how to mount and read a floppy disk on Solaris 10. ... Fortunately I still have systems running S8 and S9 that can mount and read the disk with the greatest of ease. ...
      (comp.unix.solaris)
    • Re: buildworld inside a jail
      ... At 12:49 06/02/2004, Harald Schmalzbauer wrote: ... mount -t devfs devfs $/jail/dev ... devfs rule -s 10 add hide ... devfs rule -s 10 add path null unhide ...
      (freebsd-questions)

  • Quantcast