On 2004-08-19 18:10, Hanspeter Roth <hampi_at_rootshell.be> wrote: > On Aug 19 at 16:39, Poul-Henning Kamp spoke: > > >If a write protected floppy is attempted to be mounted writable and > > >a write will be attempted on the floppy doesn't it prevent all > > >other mounted filesystems from being unmounted? > > > > I'm trying to get to where we can fix this sort of stuff properly :-) > > If a writeprotected floppy can't be mounted writable it's > sufficient. The patch prevents read-write mounts of read-only floppies: : orion# mount : /dev/ad0s1a on / (ufs, NFS exported, local) : devfs on /dev (devfs, local) : /dev/ad0s4g on /home (ufs, NFS exported, local, soft-updates) : /dev/ad0s4f on /usr (ufs, local, soft-updates) : /dev/ad0s4e on /var (ufs, local, soft-updates) : : orion# mount -t ufs /dev/fd0 /mnt : mount: /dev/fd0: Read-only file system : : orion# mount : /dev/ad0s1a on / (ufs, NFS exported, local) : devfs on /dev (devfs, local) : /dev/ad0s4g on /home (ufs, NFS exported, local, soft-updates) : /dev/ad0s4f on /usr (ufs, local, soft-updates) : /dev/ad0s4e on /var (ufs, local, soft-updates)Received on Thu Aug 19 2004 - 14:48:02 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:07 UTC