Re: RFC: Solaris style extended attributes for FreeBSD

From: Lexi Winter <ivy_at_FreeBSD.org>
Date: Sun, 04 May 2025 22:28:28 UTC
Rick Macklem:
> I have coded this, but having a pathconf name for something that is
> specific to a file is a bit weird. kib@ has suggested that it might be
> better to do it as an ioctl().
> 
> So, do you think a pathconf variable is preferred, since it is
> "Solaris compatible" or an ioctl()?

ioctl() on a regular file to discover its attributes sounds rather odd
to me.  all else being equal, i would vote for the Solaris-compatible
method in the name of compatibility, since Solaris has supported this
for >= 20 years and i imagine a lot of third-party software has adopted
that API.