stat flag to indicate presence of an extended ACL
Tim Kientzle
tim at kientzle.com
Thu Apr 15 23:22:42 GMT 2004
Robert Watson wrote:
> On Tue, 13 Apr 2004, Tim Kientzle wrote:
>>Robert Watson wrote:
>>>On Tue, 13 Apr 2004, Tim Kientzle wrote:
>>>
>>>>Ideally, I'd like some piece of data in struct stat that I can use to
>>>>tell whether or not there is extended ACL data for this file. (Maybe a
>>>>read-only bit in st_flags that indicates "extended ACL exists"?)
BTW, Robert, if you need any incentive, here's some profiling data
from bsdtar archiving a 2,000,000-file test directory:
granularity: each sample hit covers 4 byte(s) for 0.00% of 99.04 seconds
% self
time seconds calls name
35.2 34.84 2002003 lstat [8]
29.9 29.65 .mcount (218)
11.9 11.80 2002003 __sys___acl_get_file [15]
3.5 3.46 2002003 __archive_write_format_header_ustar [16]
3.0 2.93 16016024 format_octal_recursive [18]
1.7 1.64 13010026 memcpy [23]
1.5 1.51 14147257 malloc_bytes <cycle 1> [25]
1.0 0.97 2002003 archive_write_pax_header [11]
To Unsubscribe: send mail to majordomo at cyrus.watson.org
with "unsubscribe posix1e" in the body of the message
More information about the posix1e
mailing list