Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Apr 1999 00:48:08 -0500 (EST)
From:      Brian Feldman <green@unixhelp.org>
To:        mi@aldan.algebra.com
Cc:        Boris Staeblow <balu@dva.in-berlin.de>, current@FreeBSD.ORG
Subject:   Re: mount of write protected fd's
Message-ID:  <Pine.BSF.4.05.9904010047550.64477-100000@janus.syracuse.net>
In-Reply-To: <199903302138.QAA47485@misha.cisco.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 30 Mar 1999, Mikhail Teterin wrote:

> 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

Mount -u -o ro also works.

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

 Brian Feldman                _ __ ___ ____  ___ ___ ___  
 green@unixhelp.org                _ __ ___ | _ ) __|   \ 
     FreeBSD: The Power to Serve!      _ __ | _ \__ \ |) |
         http://www.freebsd.org           _ |___/___/___/ 



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?Pine.BSF.4.05.9904010047550.64477-100000>