Weird Q.

blade12_ROOT:/mnt/test # ls 2/1/.wh.
.wh.__dir_opaque  .wh.ab

if the dir is opaque, why is a whiteout file being created?

I think its this.

        if (err) {
                if (dbstart(dentry) == 0)
                        goto out;

                err = create_whiteout(dentry, dbstart(dentry) - 1);
        } else if (dbopaque(dentry) != -1) {
/* There is a hidden lower-priority file with the same name. */
                err = create_whiteout(dentry, dbopaque(dentry));
        } else {
                err = create_whiteout(dentry, dbstart(dentry));
        }

what's with that last create_whiteout() ?
_______________________________________________
unionfs mailing list
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs

Reply via email to