Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Aug 2004 22:10:44 +0300
From:      Giorgos Keramidas <keramida@linux.gr>
To:        Antony Mawer <fbsd@mawer.org>
Cc:        current@freebsd.org
Subject:   Re: [REVIEW/TEST] Rewritten floppy driver.
Message-ID:  <20040819191044.GB670@gothmog.gr>
In-Reply-To: <4124F3A0.2030509@mawer.org>
References:  <20040819141310.GA756@gicco.homeip.net> <19666.1092926344@critter.freebsd.dk> <20040819161000.GB843@gicco.homeip.net> <20040819164751.GB4004@orion.daedalusnetworks.priv> <4124F3A0.2030509@mawer.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2004-08-20 04:38, Antony Mawer <fbsd@mawer.org> wrote:
> Giorgos Keramidas wrote:
> >>If a writeprotected floppy can't be mounted writable it's
> >>sufficient.
> >
> >The patch prevents read-write mounts of read-only floppies:
> *snip*
> >: orion# mount -t ufs /dev/fd0 /mnt
> >: mount: /dev/fd0: Read-only file system
>
> Would a more optimal solution be to show a warning indicating that the
> disk was write-protected, and proceed to mount the filesystem read-only?
> This may be a ridiculous proposal - I don't know enough about the code
> in question to say - but it was just a thought! :-)

I know very few things about the way this patch works too, but I did
some tests using userlevel tools earlier tonight.  I've emailed PHK with
some comments and I'm sure if what you propose can be done he's the best
person to actually do it ;-)



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