Re: mount -a doesn't obey "ro" in /etc/fstab

From: Ricardo Nabinger Sanchez <rnsanchez_at_gmail.com>
Date: Wed, 27 Sep 2006 13:27:55 -0300
On Wed, 27 Sep 2006 16:57:17 +0300 (EEST)
Dmitry Pryanishnikov <dmitry_at_atlantis.dp.ua> wrote:

> I also can write under /mnt3, so 'mount' correctly shows FS status. mount
> _does_ obey 'mount -ur /mnt3', it just ignores "ro" in /etc/fstab. Booting
> into the single-user mode and making 'mount -a' has the same effect.
> Is this breakage well-known, or something new?

Perhaps this is UFS-specific, as I have an ext2 fs mounted as RO:

% mount
/dev/ad1s3a on / (ufs, local)
devfs on /dev (devfs, local)
/dev/ad1s2d on /home (ufs, local, soft-updates)
/dev/ad1s3d on /tmp (ufs, local, soft-updates)
/dev/ad1s1 on /mnt/Audio (ext2fs, local, read-only)

% cat /etc/fstab 
# Device                Mountpoint      FStype  Options         Dump    Pass#
/dev/ad1s3b             none            swap    sw              0       0
/dev/ad1s3a             /               ufs     rw              1       1
/dev/ad1s2d             /home           ufs     rw              2       2
/dev/ad1s3d             /tmp            ufs     rw              2       2
/dev/acd0               /cdrom          cd9660  ro,noauto       0       0
/dev/ad1s1              /mnt/Audio      ext2fs  ro              0       2
/dev/da0s1              /mnt/floppy     msdosfs rw,noauto       0       0
/dev/da0s2              /mnt/ipod       msdosfs rw,noauto       0       0

-- 
Ricardo Nabinger Sanchez     <rnsanchez_at_{gmail.com,wait4.org}>
Powered by FreeBSD

  "Left to themselves, things tend to go from bad to worse."
Received on Wed Sep 27 2006 - 14:28:08 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:00 UTC