Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Sep 2006 13:27:55 -0300
From:      Ricardo Nabinger Sanchez <rnsanchez@gmail.com>
To:        freebsd-current@freebsd.org
Cc:        Dmitry Pryanishnikov <dmitry@atlantis.dp.ua>
Subject:   Re: mount -a doesn't obey "ro" in /etc/fstab
Message-ID:  <20060927132755.d7da16d9.rnsanchez@gmail.com>
In-Reply-To: <20060927164323.S40914@atlantis.atlantis.dp.ua>
References:  <20060927164323.S40914@atlantis.atlantis.dp.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 27 Sep 2006 16:57:17 +0300 (EEST)
Dmitry Pryanishnikov <dmitry@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@{gmail.com,wait4.org}>
Powered by FreeBSD

  "Left to themselves, things tend to go from bad to worse."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060927132755.d7da16d9.rnsanchez>