Date: Sun, 4 May 2025 23:28:28 +0100 From: Lexi Winter <ivy@FreeBSD.org> To: Rick Macklem <rick.macklem@gmail.com> Cc: Lionel Cons <lionelcons1972@gmail.com>, Cedric Blancher <cedric.blancher@gmail.com>, freebsd-arch@freebsd.org, FreeBSD CURRENT <freebsd-current@freebsd.org> Subject: Re: RFC: Solaris style extended attributes for FreeBSD Message-ID: <aBfqDCVTD3FTQF8J@ragweed.eden.le-fay.org> In-Reply-To: <CAM5tNy7gati2fmVrnnnqvyy6B6p5AzVbsThWn8AOXbUkkiLedA@mail.gmail.com> References: <CAM5tNy6wkfPRUpkyHB3h6=fhJHf-eFSWWNdeHV5VLA_xG7pGDA@mail.gmail.com> <CALXu0Ud3zmq_19BqcZpTOhOzLCcoG5ix3eq8pxU1r_xUgA-s3Q@mail.gmail.com> <CAM5tNy7QsM9t8xqrvyw1HicKrc1wpkyxTgfLBoVnP%2B1x99jn7g@mail.gmail.com> <CAPJSo4Xu4aCtOh5krcM%2Brw3yNj1vsMSaHPQQ-HQ=2QC-jjScng@mail.gmail.com> <CAM5tNy7gati2fmVrnnnqvyy6B6p5AzVbsThWn8AOXbUkkiLedA@mail.gmail.com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] 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. [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQSyjTg96lp3RifySyn1nT63mIK/YAUCaBfqDAAKCRD1nT63mIK/ YETHAQD1/rA7ee26UXGOeVA9TfgW9KemDCt9smPTOTxLM/RRpwD/R4jajrs43JeP Zo9mthkh1knE+RgWMzzGpypi2nOJTw4= =4LDE -----END PGP SIGNATURE-----home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?aBfqDCVTD3FTQF8J>
