[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gfarm-discuss:09059] extended attribute



Hi,

After some personal communication about extended attribute
in Gfarm, I support it by introducing 'gfxattr' command to
set, get, and remove the extended attribute at the revision
7372.  You can obtain this from svn repository or version
1.4.99 current release in SourceForge.net.

https://sourceforge.net/project/showfiles.php?group_id=172718

Usually, extended attribute consists of list of pairs of any attribute and any value, but when an XML document is attached
as an extended attribute, we feel just attaching a document
seems to be enough to be suppported.  The current implementation
allows only one document can be attached as an extended attribute.

When 'attribute_file' is such a document, 'gfxattr -s' can set it
to the extended attribute in Gfarm file system.

% gfxattr -s file < attribute_file

The character format of 'attribute_file' should be UTF-8 for
international users.

% gfxattr -g file

can retrieve the extended attribute.  Please feel free to
give us comments.

Thanks,
Osamu