Ah, thanks Ethan! Should have read your reply before I sent mine. :)
Nathan made this change about 4 weeks ago to fs/xfs/linux/xfs_linux.h,
I think it should address this problem?
> ENOTSUP was defined to be ENOTSUPP. this is a problem because some glibc
> versions and some architectures do not grok this code (errno.h in the kernel
> only defines this within __KERNEL__). we now define it as EOPNOTSUPP which
> will work everywhere and is the same thing we use for extended attributes
> not available elsewhere in the kernel (ENOTSUP is the ACL not enabled code).
Thanks,
-Eric
On Fri, 10 May 2002, Ethan Benson wrote:
> the problem is you compiled XFS without ACL support, in this case XFS
> returns the wrong errno so perror reports `Unknown error (524)'
> instead of Operation not supported.
>
> glibc only knows about EOPNOTSUPP, ENOTSUP and ENOTSUPP are protected
> by __KERNEL__ so xfs needs to change its return values when it does
> not have ACL support. i sent details of this problem to Nathan
> several weeks ago but he never followed up.
--
Eric Sandeen XFS for Linux http://oss.sgi.com/projects/xfs
sandeen@xxxxxxx SGI, Inc.
|