listxattr return values

Scott Quesnelle <[email protected]> Tue, 09 May 2006 12:21:36 -0400
Newsgroups gmane.linux.file-systems.acl.devel
Message-ID <[email protected]>
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
_______________________________________________
acl-devel mailing list
[email protected]
http://acl.bestbits.at/mailman/listinfo/acl-devel