I tried on RHEL 5.2 and it works, too. But it still does not work with the automounter - still does the mount --bind (probably).... Ondrej
Steve Linn wrote: > Interesting. I tried it on a Suse 9,3, Open Suse 10.3 kernel and > an earlier RHEL and they failed. Opensuse 11 works though. > > [EMAIL PROTECTED] ~]$ mount -o ro lid40:/etc /mnt/test1 > [EMAIL PROTECTED] ~]$ mount -o rw lid40:/etc /mnt/test2 > [EMAIL PROTECTED] ~]$ touch /mnt/test2/passwd > touch: cannot touch `/mnt/test2/passwd': Read-only file system > [EMAIL PROTECTED] ~]$ cat /proc/version > Linux version 2.6.9-34.0.1.EL.ADSKsmp ([EMAIL PROTECTED]) (gcc version > 3.4.4 20050721 (Red Hat 3.4.4-2)) #1 SMP Tue Aug 12 21:24:17 EDT 2008 > [EMAIL PROTECTED] ~]$ cat /etc/redhat-release > Red Hat Enterprise Linux WS release 4 (Nahant Update 3) > > > suse11build /root# mount -o ro lid40:/etc /mnt/test1 > suse11build /root# mount -o rw lid40:/etc /mnt/test2 > suse11build /root# touch /mnt/test2/passwd > suse11build /root# cat /proc/version > Linux version 2.6.25.9-0.2-pae ([EMAIL PROTECTED]) (gcc version 4.3.1 > 20080507 (prerelease) [gcc-4_3-branch revision 135036] (SUSE Linux) ) > #1 SMP 2008-06-28 00:00:07 +0200 > > suse11build /root# cat /etc/SuSE-release > openSUSE 11.0 (i586) > VERSION = 11.0 > > Sorry about that, > Steve > > On Thu, Oct 30, 2008 at 6:32 AM, Jeff Moyer <[EMAIL PROTECTED]> wrote: > >> "Steve Linn" <[EMAIL PROTECTED]> writes: >> >> >>> We had the same problem. The kernel we were running had a >>> "feature" where if the client mounts the same server and directory >>> it would bind them together. You would get RO or RW depending >>> >> The RHEL 5.2 kernel does not have that issue. >> >> Cheers, >> >> Jeff >> >> _______________________________________________ autofs mailing list autofs@linux.kernel.org http://linux.kernel.org/mailman/listinfo/autofs