Re: mount & umount read-only floppy: unmount failed: Input/output error ??
From: Sergey \ (doublef_at_tele-kom.ru)
Date: 06/30/03
- Previous message: Jamie: "Changing Sendmail prefix"
- In reply to: Rob Lahaye: "mount & umount read-only floppy: unmount failed: Input/output error ??"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Mon, 30 Jun 2003 17:51:50 +0000 To: Rob Lahaye <lahaye@snu.ac.kr>
Rob Lahaye wrote:
> 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
You know, ufs filesystems store the "last mounted on" string in
themselves (it is reported by "fsck", f.e.). I am not sure, but it seems
like mount is willing to write it to the floppy.
> Perhaps the updates from mounting the floppy aren't being written
> out to the actual media until you try to unmount it - some kind of
> caching issue?
So you were _writing_ to a read-only floppy;)? Yes, of course, FreeBSD
does cache them (that's why you can't take it out without unmounting).
It's just that, short of trying to write to the floppy, you can't get to
know it's read-only AFAIK.
HTH,
DoubleF
_______________________________________________
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"
- Previous message: Jamie: "Changing Sendmail prefix"
- In reply to: Rob Lahaye: "mount & umount read-only floppy: unmount failed: Input/output error ??"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|