> > Example (using /var/www, which is not empty):
> > mv /var/www /var/www.old (works)
        :::
> After first mv, try ls /var.
> Can you see www.old dir?

I am checking copyup dir. in unionfs rename.
- /var/www dir exists on readonly iso9660.
- readwrite branch is tmpfs.
- rename systemcall fails copyup, and returns EXIO.

And then mv(1) recovers this failure with doing real mkdir and file copy.
So people will never aware the error of rename(2).
There might be another bug around real mkdir and copying, this one seems
to be a cause of Klaus's trouble.

According to unionfs document 'Technical Report FSL-04-01b',
unionfs_rename should copyup correctly. Shoud we address the bug of
copyup in rename first?


Junjiro Okajima
_______________________________________________
unionfs mailing list
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs

Reply via email to