Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Mar 1999 16:38:27 -0500 (EST)
From:      Mikhail Teterin <mi@misha.cisco.com>
To:        balu@dva.in-berlin.de (Boris Staeblow)
Cc:        current@freebsd.org
Subject:   Re: mount of write protected fd's
Message-ID:  <199903302138.QAA47485@misha.cisco.com>
In-Reply-To: <19990330223132.A4808@dva.in-berlin.de> from Boris Staeblow at "Mar 30, 1999 10:31:32 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Boris Staeblow once wrote:

> mount should detect that a fd is write-protected and mount it "ro"
> although no "mount -r" is given... Isn't it possible to detect the w/p
> status from the fd-controller?

Actually, the existing behavior is rather horrible. If you forget
to specify ro for a read-only floppy, mount will succeed, but the
kernel will keep complaining. It will also NOT let you umount the
damn thing (even with -f), until you take the floppy out and
write-enable it.  Which, sometimes, requires use of duct tape...

	-mi


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199903302138.QAA47485>