Hi,

On Thu, Oct 26, 2000 at 11:49:04AM +0100, Anton Altaparmakov wrote:
> On Thu, 26 Oct 2000, Timothy Shimmin wrote:

> > It seems that your EA API assumes EA lists, whereas
> > in XFS we seem to base it on EA sets.

> If XFS doesn't order the EAs that's fine. - However for FSs which do order
> them the API has to provide the interface. - If the underlying FS chooses
> to ignore ordering that is not a problem.

Perfect answer. :)

> > 3.
> > How do you remove an attribute or multiple attributes ?
> > Do you do a SET with a null value in <new> ?
> 
> You read in all EAs (ATR_GETALL), delete the ones you want to get
> rid of and then you replace all of them (ATR_REPLACE). Easy. And it works
> for just one, for seeral or even for all EAs at once.

Actually, no, there is a genuine need for an ATR_DELETE too: I had
overlooked that.

Cheers,
 Stephen
-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to [EMAIL PROTECTED]

Reply via email to