]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Revert rev. 1.86 by jmallett@ as it breaks "ro" mounts specified
authorru <ru@FreeBSD.org>
Tue, 24 Oct 2006 22:02:29 +0000 (22:02 +0000)
committerru <ru@FreeBSD.org>
Tue, 24 Oct 2006 22:02:29 +0000 (22:02 +0000)
commitf5d15b9ea0fd7d28cc86f95efbb4c1d0b1c7a7a1
tree3dcecf192cd9935e04b4814eb8d7bbd9a2f56d71
parent8e246ecb792dfd0d20a146431f4455a7dcf6348c
Revert rev. 1.86 by jmallett@ as it breaks "ro" mounts specified
in /etc/fstab.

This has been happening due to the priority inversion; options
specified on the command line should take precedence over options
from fstab over default "noro" option, but since both the default
"noro" and options specified on the command line (-w, -r, -o ...)
were put into the same "options" variable, "noro" took precedence
over fstab "ro" (this is easily visible with "mount -d").

PR: bin/100164
sbin/mount/mount.c