On Tue, 2006-05-02 at 15:32, Darren J Moffat wrote:
> Peter Tribble wrote:
> > I trialled xattrs on a couple of little projects, just for
> > storing metadata about files, and found runat very useful
> > for development and debugging. I think it should be kept.
> 
> Right but thats what it is a development and debug tool not a tool for 
> building other applications on top of.

But you still need such a tool. (Maybe not in /usr/bin, but
then again given some of the other stuff that gets in there
why not.)

And I can see valid uses in the regular case. You do
need to be able to script this. (The Mac comparison
is the one to think of - one thing we did was to try
using an xattr to specify the right application to open
a file, in cases where it couldn't be divined by other
means. Another was to associate files together in groups,
so that a cleanup script could correctly wipe out the
files it should and leave the important ones behind.)

> > (The trials didn't get very far, mainly due to lack of
> > support in java and perl.)
> 
> If that were to happen would you do more with xattrs ?  Particuarly 
> given how they are supported properly in NFSv4 ?

Personally, in my current job, I'm not in a position
to. But to make use of them all the development languages
(java, perl, php, ruby,...) need to have support built
in. I think it's unreasonable to expect everyone to
use openat(2) directly. Even shell scripts - it's much
easier to innovate and prototype in a script.

-- 
-Peter Tribble
L.I.S., University of Hertfordshire - http://www.herts.ac.uk/
http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/


_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to