Hi,
bind mounts seem not to work as expected on OpenSUSE 11.4.
E.g:
$ mount /home /mnt -o bind
$ mount | grep mnt
/dev/sda1 on /mnt type ext3
(rw,relatime,errors=continue,user_xattr,acl,commit=600,barrier=0,data=ordered)
$ mount | grep sda1
/dev/sda1 on / type ext3
(rw,relatime,errors=continue,user_xattr,acl,commit=600,barrier=0,data=ordered)
/dev/sda1 on /mnt type ext3
(rw,relatime,errors=continue,user_xattr,acl,commit=600,barrier=0,data=ordered)
mount shows me the for both / and /mnt /dev/sda1 as device.
The expected output is:
/home on /mnt type none (rw,bind)
The read-only bind mount also does not work.
$ mount -o bind,ro /home /mnt
mount: warning: /mnt seems to be mounted read-write.
$ mount | grep mnt
/dev/sda1 on /mnt type ext3
(rw,relatime,errors=continue,user_xattr,acl,commit=600,barrier=0,data=ordered)
I can reproduce this on OpenSUSE 11.4 using kernel-desktop-2.6.37.1-1.2.2.i586,
kernel-vanilla-2.6.37.1-1.2.2.i586 and
kernel-vanilla-2.6.37.3-16.1.i586 (from tumbleweed repo)
But, on a CentOS 5.5 box with a hand compiled 2.6.37.3 kernel
everything works as expected.
Now I'm confused, is this a OpenSUSE or a kernel issue?
Any ideas?
--
Thanks,
//richard
--
To unsubscribe, e-mail: opensuse-kernel+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-kernel+help(a)opensuse.org