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



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

Attachment: signature.asc
Description: OpenPGP digital signature



Relevant Pages

  • Re: screen and no more ptys
    ... Are you using devfs on all the newly-upgraded-to-7.1 machines? ... Well, just to be ultra-clear, does the problem box have a devfs ... Last I knew, you could run FreeBSD without devfs, ... You might also consider a fresh install on this problem box, ...
    (comp.unix.bsd.freebsd.misc)
  • devfs and /dev/fd/3
    ... FreeBSD 5 with devfs, however, does not create a /dev/fd/3 upon opening ... with mknod-ed files over /dev/fd? ... Zlo ...
    (freebsd-current)
  • make nodes for new disk with devfs
    ... I'm having a problem with devfs in 6-current. ... got back to freebsd these days, ... Will anyone give me a proper direction or resource? ... Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org ...
    (freebsd-questions)
  • Re: Why cant I do "mknod /dev/cdev c 32 0"
    ... >even the make_dev call will cause system rebooting! ... If you are using FreeBSD 5.x, the devfs makes mknod irrelevant; ... To unsubscribe, ...
    (freebsd-questions)
  • Re: Strange question about the logo?...
    ... > Can you tell me why FreeBSD choosed a devil as logo? ... quote from "Unix System Administration Handbook": ... UNIX systems seem to be infested with both daemons ... Karol Kwiatkowski <freebsd at orchid dot homeunix dot org> ...
    (freebsd-questions)