In message <20040819191044.GB670_at_gothmog.gr>, Giorgos Keramidas writes: >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! :-) No. If mount(8) doesn't do exactly what you asked for it fails solid and do nothing. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk_at_FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.Received on Thu Aug 19 2004 - 17:16:58 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:07 UTC