In message <20050405235414.D81173_at_fledge.watson.org>, Robert Watson writes: >> There are two ways that a filesystem correctly could handle a R/O media: >> >> 1. Fail with EROFS unless asked t mouned read-only >> >> 2. Silently downgrade th emount to read-only. >> >> I personally prefer the first because that way a script does not have to >> check if it got the mount it wanted or not. > >In general, I agree, but this will de-POLA the following command: > > mount -t cd9660 /dev/acd0 /cdrom Not really. The cd9660 filesystem can never be mounted R/W, it always mounts R/O by default so it will still DTRT. -- 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 Wed Apr 06 2005 - 03:22:56 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:31 UTC