Date: Sun, 27 Oct 2002 22:39:49 +0100 From: Hanspeter Roth <hanspeter_roth@hotmail.com> To: freebsd-stable@freebsd.org Subject: unmounting disabled with writeprotected floppy Message-ID: <20021027223949.A359@gicco.homeip.net>
next in thread | raw e-mail | index | archive | help
Hello, I frequently store some files on a floppy. Thus my fstab contains /dev/fd0 /floppy msdos rw,noauto 0 0 This usually allows me to write on the floppy. Sometimes I insert a floppy that's writeprotected. If I forget to mount it readonly explicitly (-r) the system thinks it is writeable. If the floppy is unmounted without any attempts to write to the floppy there is no problem. The problem starts if I forget to mention -r. After attempting to unmount the floppy the system starts to I bark at the console. It prevents the floppy from being unmounted. After shutdown is issued the system insists that the floppy must be unmounted _before_ any other filesystem (/, /var, /usr) is unmounted. But since it also prevents the floppy from being unmounted it also prevents the other filesystems from being unmounted. They will be fscked on the next boot. I think this situation is better solved in Linux. Why not mount the floppy implicitly readonly if it is writeprotected? -Hanspeter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021027223949.A359>