Date: Mon, 30 Jun 2003 17:51:50 +0000 From: "Sergey \"DoubleF\" Zaharchenko" <doublef@tele-kom.ru> To: Rob Lahaye <lahaye@snu.ac.kr> Cc: freebsd-questions@freebsd.org Subject: Re: mount & umount read-only floppy: unmount failed: Input/output error ?? Message-ID: <3F0078B6.1080102@tele-kom.ru> In-Reply-To: <3EFFFE5A.7060500@snu.ac.kr> References: <3EFFFE5A.7060500@snu.ac.kr>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F0078B6.1080102>