mount & umount read-only floppy: unmount failed: Input/output error ??

From: Rob Lahaye (lahaye_at_snu.ac.kr)
Date: 06/30/03

  • Next message: Dan: "Question about freebsd.org"
    Date: Mon, 30 Jun 2003 18:09:46 +0900
    To: freebsd-questions@freebsd.org
    
    

    Hi,

    I created the installation floppy from "kern.flp". Removed it from the
    drive, to make it read-only.
    I then put it back into the drive and do, as root:

    # mount -t ufs /dev/fd0 /mnt
    # umount /dev/fd0
    umount: unmount of /mnt failed: Input/output error
    #

    It's still mounted! I have to take the floppy out of the drive, make
    it read/write, put it back in the drive and do the umount. Then it's OK.

    The following is also fine:

    # mount -t ufs -o rdonly /dev/fd0 /mnt
    # umount /dev/fd0

    Is this normal, or what?
    Thanks,
    Rob.

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


  • Next message: Dan: "Question about freebsd.org"

    Relevant Pages

    • Re: Im really confused by bash, .bashrc, .bash_profile, .profile, etc, etc, etc
      ... you can use functions in that file or the .bashrc file ex. ... function umfloppy {umount /mnt/floppy;} ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • Re: Block special device messed up
      ... first try umount /dev/hdc if that helps. ... The early bird may get the worm, but the second mouse gets the cheese. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • Re: /usr busy after aptitude operations?
      ... First step of "remount" is a umount. ... Sub-process returned an error code ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • Re: Pendrive corrupted filesystem
      ... Install dosfstools, umount the ... partition and fsck it. ... "A good plan today is better than a perfect plan tomorrow." ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • Re: Hotplugging more USB devices
      ... Ralph Kutschera wrote: ... > * What if I turn off my external hard disk? ... umount, "un"dev ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)