[Acl-Devel] listxattr return values

Scott Quesnelle quesnelle_scott at emc.com
Tue May 9 18:21:36 CEST 2006


Hello,

I am curious about the return values for listxattr. According to the man 
page for listxattr.

    If extended attributes are not supported by the filesystem, or are 
disabled, errno is set to ENOTSUP.

I am using RHEL 2.1 and SLES 8 machines with the following xattr and acl 
packages:
libattr-2.4.28-0
attr-2.4.28-0
libattr-devel-2.4.28-0
libacl-devel-2.2.34-1
acl-2.2.34-1
libacl-2.2.34-1

If I do a listxattr on a filesystem that does not have xattrs turned on 
I am geting an errno of ENOSYS. Is this to be expected?
If so, should the manpage be updated?

Thanks,

Scott Quesnelle
Sr. Software Developer (Networker)
EMC Software Group (IMSG)
EMC Corporation
1111 International Blvd
Burlington, ON  Canada  L7L 6W1


More information about the acl-devel mailing list