Hi,

I am using unionfs 2.1.10 (for 2.6.23.8).
The unionfs root has two layers, a read-only nfs filesystem and a tmpfs.
When I doing some test i got this:

[EMAIL PROTECTED]:~# mkdir /var/lib/misc/testdir
mkdir: cannot create directory `/var/lib/misc/testdir': Read-only file
system
[EMAIL PROTECTED]:~# mkdir /var/lib/misc/testdir
mkdir: cannot create directory `/var/lib/misc/testdir': Read-only file
system
[EMAIL PROTECTED]:~# touch /var/lib/misc/testdir
[EMAIL PROTECTED]:~# rm /var/lib/misc/testdir
[EMAIL PROTECTED]:~# mkdir /var/lib/misc/testdir && echo OK
OK
[EMAIL PROTECTED]:~#

It looks like a problem within unionfs COW algoritm. If the parent directory
not exists in the COW layer the mkdir failed.
When the parent directory (/var/lib/misc) exists in the COW layer (after
touching a file on it) the subdirectory can created.
It is a real bug, or I miss something?

-- 
thx,

Lénárd
_______________________________________________
unionfs mailing list: http://unionfs.filesystems.org/
unionfs@mail.fsl.cs.sunysb.edu
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs

Reply via email to