[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Read-only bind mounts



Hi,

I read somewhere that Linux kernel 2.6.23 supports read-only bind
mounts, but I can't get this to work. I am running Debian Sid updated
today.

~# mount -o ro --bind /tmp /mnt
~# touch /mnt/foo
~# ls -l /mnt/foo
-rw-r--r-- 1 root root 0 2008-01-17 16:27 /mnt/foo
~# ls -l /tmp/foo
-rw-r--r-- 1 root root 0 2008-01-17 16:27 /tmp/foo

Am I doing something wrong? Or is it simply not implemented?

Thanks for you help
/Fredrik


Reply to: