Re: RFC: Solaris style extended attributes for FreeBSD
Lexi Winter <[email protected]>
| Newsgroups | gmane.os.freebsd.architechture,gmane.os.freebsd.current |
|---|---|
| Message-ID | <[email protected]> |
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.
signature.asc
(application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQSyjTg96lp3RifySyn1nT63mIK/YAUCaBfqDAAKCRD1nT63mIK/ YETHAQD1/rA7ee26UXGOeVA9TfgW9KemDCt9smPTOTxLM/RRpwD/R4jajrs43JeP Zo9mthkh1knE+RgWMzzGpypi2nOJTw4= =4LDE -----END PGP SIGNATURE-----