mount -a doesn't obey "ro" in /etc/fstab
Karol Kwiatkowski
freebsd at orchid.homeunix.org
Wed Sep 27 10:31:03 PDT 2006
On 27/09/2006 19:15, Dmitry Pryanishnikov wrote:
> On Wed, 27 Sep 2006, Dmitry Pryanishnikov wrote:
>> will apply cleanly). I've noticed the something very new (and
>> annoying) after the upgrade: all filesystems listed in /etc/fstab with
>> "ro" are still mounted as R/W. Here is my /etc/fstab:
>>
>> # Device Mountpoint FStype Options
>> Dump Pass#
>> /dev/ad0s3b none swap sw 0 0
>> /dev/ad0s4a / ufs rw,sync 0 1
>> /dev/ad0s4e /usr ufs rw 0 2
>> /dev/ad0s3a /mnt3 ufs ro 0 0
>> /dev/ad0s3d /mnt3/usr ufs ro 0 0
>> Is this breakage well-known, or something new?
>
> I can confirm that this bug isn't brand new: CURRENT as of 20-Aug on my
> notebook already has it. So it's kinda "mature" (;
For what it's worth, it works on 6.1-R:
$ uname -sr
FreeBSD 6.1-RELEASE
$ cat /etc/fstab
# Device Mountpoint FStype Options Dump Pass#
/dev/ad0s1b none swap sw 0 0
/dev/ad0s1a / ufs ro 1 1
[...]
$ mount
/dev/ad0s1a on / (ufs, local, read-only)
devfs on /dev (devfs, local)
[...]
Karol
--
Karol Kwiatkowski <freebsd at orchid dot homeunix dot org>
OpenPGP: http://www.orchid.homeunix.org/carlos/gpg/0x06E09309.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20060927/801af5ab/signature.pgp
More information about the freebsd-current
mailing list