Date: Mon, 28 Oct 2002 01:03:09 +0300 (MSK) From: Dmitry Morozovsky <marck@rinet.ru> To: freebsd-stable@FreeBSD.ORG Subject: Re: unmounting disabled with writeprotected floppy Message-ID: <20021028010155.J24481-100000@woozle.rinet.ru> In-Reply-To: <20021027223949.A359@gicco.homeip.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 27 Oct 2002, Hanspeter Roth wrote: HR> I frequently store some files on a floppy. Thus my fstab contains HR> /dev/fd0 /floppy msdos rw,noauto 0 0 HR> This usually allows me to write on the floppy. HR> Sometimes I insert a floppy that's writeprotected. HR> If I forget to mount it readonly explicitly (-r) the system thinks HR> it is writeable. If the floppy is unmounted without any attempts to HR> write to the floppy there is no problem. HR> The problem starts if I forget to mention -r. After attempting to HR> unmount the floppy the system starts to I bark at the console. HR> It prevents the floppy from being unmounted. After shutdown is HR> issued the system insists that the floppy must be unmounted _before_ HR> any other filesystem (/, /var, /usr) is unmounted. But since it also HR> prevents the floppy from being unmounted it also prevents the other HR> filesystems from being unmounted. They will be fscked on the next HR> boot. HR> I think this situation is better solved in Linux. Why not mount the HR> floppy implicitly readonly if it is writeprotected? There was a thread about it a couple of weeks ago, you can look through the archives. For the meantime, a perfectly accepted for me workaround is emulators/mtools port. Sincerely, D.Marck [DM5020, DM268-RIPE, DM3-RIPN] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------ 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?20021028010155.J24481-100000>