4 ms·
Looking over the landed patch (https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ecd7db20474c3859d4d01f34aaabf41bd28c7d84 https://gi
by DHowett 3y ago
Looking over the landed patch (https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ecd7db20474c3859d4d01f34aaabf41bd28c7d84 https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/lin...), I cannot find a hardcoded list of user.* xattrs that will be accepted.
It looks like it will store as many xattrs as there is space for, based on their contents.
- adrian_b 3y agoThat would be nice, but then the "a limited number" expression does not make much sense. All the file systems that support extended file attributes have some limit for the size of the attributes attached to a file, for instance of 64 kB. After searching through the patch, it seems that the maximum number of xattrs is 128. There is also a size limit of 128 kB, which might be the limit for the sum of the sizes of all attributes. If that is the only reason for saying "a limited number", then this is very good, the limits are high enough to not cause any problems in most applications, so tmpfs will finally no longer strip the attributes of the files copied through it.