On 1/27/20 10:37 PM, enh via Toybox wrote: > I'm trying to switch Android over to toybox chattr/lsattr from > e2fsprogs. Remove those tests that relied on being able to use > chattr(1), remove the duplication that tested both a bare name and a > full path, take into account all the flags that lsattr can now output, > and cope with the fact that the exact flags you'll see depend on your > file system. (Unfortunately this means trusting lsattr in the lsattr > tests, which isn't ideal, but without a known environment I don't think > we can do any better.)
My todo diff in the file (just reverted) was: +#Problem: +#$ ./lsattr README +#------------- README +#$ lsattr README +#--------------e---- README +# Really needs a known filesystem type. + As for extents, is this the same as sparse file support? Because you can either have a sparse tarball or truncate -s. (Or truncate -s a file and then make a tarball with --sparse and see if the first 512 bytes generated header is right...) I'd du but... xattr stuff. :( Rob _______________________________________________ Toybox mailing list [email protected] http://lists.landley.net/listinfo.cgi/toybox-landley.net
