mount -o union doesn't allow changes to sub directories?
kostikbel at gmail.com
Wed Mar 23 14:37:34 UTC 2011
On Wed, Mar 23, 2011 at 04:48:21PM +1100, Lawrence Stewart wrote:
> Hi again,
> If I run something like:
> mount -o union /dev/md0 /etc
> where md0 is a memory backed fs device, and /etc is fully populated but
> mounted RO off a CD, I can touch a new file in /etc, but can't in any
> subdir of etc (fails with "Read-only filesystem" reported).
> As far as I can tell this is a bug, but wanted to check if I'm
> misunderstanding how the "-o union" mount option is supposed to work.
No, this is how the union mount work. Union is performed only
on the mount point directory, for the names that are absent in
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20110323/75e58e9e/attachment.pgp
More information about the freebsd-fs