public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* Portability of libattr
@ 2008-04-09 18:41 petr.pisar
  2008-04-09 18:54 ` Christoph Hellwig
  0 siblings, 1 reply; 5+ messages in thread
From: petr.pisar @ 2008-04-09 18:41 UTC (permalink / raw)
  To: xfs

[-- Attachment #1: Type: text/plain, Size: 891 bytes --]

Hello,

I'm adding support for extended atributes into few applications.
Unfortunatetally API for EA manipulation is not standartized and every
operating system uses its own solution. I thought libattr from attr package
could help me. However attr seems running on Linux (and maybe IRIX) only.

Therefore I've decided to use libc functions from every system directly. I've
succesfully ported my code to Linux, IRIX and Darwin (Max OS X). Their AE
syscalls are very similar. However FreeBSD API is more different. Because I'm
extending more applications I need to share the code.

So, my qustions are: should I write my own library or should I extend libattr.
As I can understand libattr code it's designed to port IRIX application on
Linux. Am I right? Or are you going support more OS's in libattr? Or exists
here some similar library providing unified interface fro more systems?

-- Petr

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-04-11 20:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-09 18:41 Portability of libattr petr.pisar
2008-04-09 18:54 ` Christoph Hellwig
2008-04-11 15:01   ` Russell Cattelan
2008-04-11 16:40     ` petr.pisar
2008-04-11 19:47       ` nscott

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox