[QUESTION] problem about origin xattr

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

While thinking about "origin" xattr, i find a problem which retrieval methods show as below:

$mkdir lower lower1 lower2 upper work merge
$touch lower1/a
$mount -t overlay -olowerdir=lower:lower1,upperdir=upper,workdir=work merge merge
$echo abc > merge/a
$ls -li merge/a
Then, we can get the ino of file a equals to the ino of lower1/a.
$umount merge
$mount -t overlay -olowerdir=lower:lower2,upperdir=upper,workdir=work merge merge
$ls -li merge/a

The ino for file a is same as file lower1/a, while there is no file a in lower and lower2. Because ovl_get_origin will get the wrong origin.

Thanks,
yangerkun

--
To unsubscribe from this list: send the line "unsubscribe linux-unionfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Filesystems Devel]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux