Re: RFC: new module Linux::xattr
- From: Ilya Zakharevich <nospam-abuse@xxxxxxxxx>
- Date: Sat, 12 Nov 2005 07:29:27 +0000 (UTC)
[A complimentary Cc of this posting was sent to
Kevin Goess
<cpan@xxxxxxxxx>], who wrote in article <W9udnTv7_KvYbenenZ2dnUVZ_sidnZ2d@xxxxxxxxxxxxx>:
> This is a new module to work with extended file attributes on Linux
> (that's a newish Linux kernel feature that allows you to associate
> arbitrary name/value pairs with a file).
>
> I'm proposing Linux::xattr as the namespace (that mirrors the python and
> ruby packages). Any comments on the namespace?
Well, on OS/2 it is called OS2::ExtAttr. Do not know how Win* ports
have it (NTFS has this feature too - actually, it is even easier
to accessible - just open "Filename:FieldName").
> Regarding the interface and Perl function names, the command-line tools
> in the original attr package from http://acl.bestbits.at/ are named
>
> setfattr
> getfattr
>
> and their C library functions are named
>
> attr_set
> attr_get
> attr_remove
>
> I was going to make the Perl functions look like the command-line tools
> and call them
OS2::ExtAttr is supposed to be used mostly via tie(). It comes with
Perl distribution; consult it for details.
Hope this helps,
Ilya
.
- References:
- RFC: new module Linux::xattr
- From: Kevin Goess
- RFC: new module Linux::xattr
- Prev by Date: Re: Messed up install
- Next by Date: Re: sending an SMS message
- Previous by thread: RFC: new module Linux::xattr
- Next by thread: Messed up install
- Index(es):
Relevant Pages
|
|