Bharata B Rao schrieb:

> 2. If I write something to union/file2 using vi editor, the file is
> copied up to dir1/ and a whiteout is created in dir2/

Which vi version (or clone) are you using?

Often there is an option to prevent data loss by writing the file into a
new file with different name first (which is created in dir1/, since it
is new), copying permission settings and then renaming it "over" the
original file. So the file ends up in dir1/; there is no copyup here.
Some versions even delete the original file before moving the new one in
place (which is useful on systems with strange file semantics - like
Windows).

HTH,

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

Reply via email to