From owner-freebsd-current Wed Mar 31 21:48:33 1999 Delivered-To: freebsd-current@freebsd.org Received: from janus.syracuse.net (janus.syracuse.net [205.232.47.15]) by hub.freebsd.org (Postfix) with ESMTP id 0178814EC4 for ; Wed, 31 Mar 1999 21:48:31 -0800 (PST) (envelope-from green@unixhelp.org) Received: from localhost (green@localhost) by janus.syracuse.net (8.9.2/8.8.7) with ESMTP id AAA64539; Thu, 1 Apr 1999 00:48:09 -0500 (EST) Date: Thu, 1 Apr 1999 00:48:08 -0500 (EST) From: Brian Feldman X-Sender: green@janus.syracuse.net To: mi@aldan.algebra.com Cc: Boris Staeblow , current@FreeBSD.ORG Subject: Re: mount of write protected fd's In-Reply-To: <199903302138.QAA47485@misha.cisco.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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