x**m 发帖数: 941 | 1 acl_get_file()只是说存在一个working storage。
谢谢。 |
S*A 发帖数: 7142 | 2 http://en.wikipedia.org/wiki/Extended_file_attributes
【在 x**m 的大作中提到】![](/moin_static193/solenoid/img/up.png) : acl_get_file()只是说存在一个working storage。 : 谢谢。
|
x**m 发帖数: 941 | 3 这里没有明说到底存储在什么地方,只是说“Any regular file may have a list of extended attributes.”
不过结合getxattr和attr的说明,我猜应该是在inode里面. |
S*A 发帖数: 7142 | 4 You guess wrong then.
Most file system don't store extend attribute in inode.
It will be stupid to do so because you can put arbitrate
size data into EA. That will totally blow up the inode
cache and you are dealing with variable size inode.
In ext3 and ext4, they are like file data blocks but point
by a different field in the inode (i_file_acl).
of extended attributes.”
【在 x**m 的大作中提到】![](/moin_static193/solenoid/img/up.png) : 这里没有明说到底存储在什么地方,只是说“Any regular file may have a list of extended attributes.” : 不过结合getxattr和attr的说明,我猜应该是在inode里面.
|
x**m 发帖数: 941 | 5 Interesting. Thank you for the information. |