xfs
[Top] [All Lists]

Re: [PATCH] Revised extended attributes interface

To: Nathan Scott <nathans@xxxxxxx>, Linus Torvalds <torvalds@xxxxxxxxxxxxx>, Alexander Viro <viro@xxxxxxxxxxxx>, Andi Kleen <ak@xxxxxxx>, Andreas Gruenbacher <ag@xxxxxxxxxxx>
Subject: Re: [PATCH] Revised extended attributes interface
From: Daniel Phillips <phillips@xxxxxxxxxxxxxx>
Date: Fri, 7 Dec 2001 03:03:43 +0100
Cc: linux-kernel@xxxxxxxxxxxxxxx, linux-fsdevel@xxxxxxxxxxxxxxx, linux-xfs@xxxxxxxxxxx
In-reply-to: <20011207101517.B46546@xxxxxxxxxxxxxxxxxxxxxxxx>
References: <20011205143209.C44610@xxxxxxxxxxxxxxxxxxxxxxxx> <E16C0PD-0000ot-00@xxxxxxxxxxxxxxx> <20011207101517.B46546@xxxxxxxxxxxxxxxxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
On December 7, 2001 12:15 am, Nathan Scott wrote:
> > > [extended attributes on symlinks]
> > 
> > OK, well it looks like you're going a little overboard here in dividing out 
> > the functionality.  What you're talking about is 'follow symlink or not', 
> > right?  That really does sound to me as though it's naturally expressed 
> > with 
> > a flag bit.  I really don't see a compelling reason to go beyond 8 syscalls:
> > 
> >   get, fget, set, fset, del, fdel, list, flist
> 
> I'm not too fussed - the second draft patch I sent out did exactly
> as you describe, in an attempt to cut down on syscalls.  This again
> meant adding a "flags" field to each operation.  We also have stat/
> lstat/fstat and chown/lchown/fchown - I was trying to be consistent
> with those, and I still think that is the right thing to do.

It may well be, however, the one call that has flags, set, is looking a 
little irregular sitting there on its own.

We're inventing an API here for which we don't have a lot of guidance from 
existing unices, correct?  It wouldn't hurt to really kick it around.  After 
all, what we settle on in Linux is likely to become the standard.

Presumably there's some existing practice at SGI, do you have a pointer to 
man pages?

--
Daniel


<Prev in Thread] Current Thread [Next in Thread>