[REVIEW/TEST] Rewritten floppy driver.

Giorgos Keramidas keramida at linux.gr
Thu Aug 19 12:12:05 PDT 2004


On 2004-08-20 04:38, Antony Mawer <fbsd at 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 ;-)



More information about the freebsd-current mailing list