Messages in this thread |  | | From | Daniel Phillips <> | Subject | Re: [RFC][PATCH] VFS interface for extended attributes | Date | Mon, 3 Dec 2001 01:07:13 +0100 |
| |
Hi, sorry for jumping into this a little late, but...
On November 16, 2001 12:18 am, Nathan Scott wrote: > > What is the distinction between "set" and "replace" or "set" and "create"? > > +#define EA_CREATE 0x0001 /* Set the value: fail if attr already exists */ > +#define EA_REPLACE 0x0002 /* Set the value: fail if attr does not exist */ > > Whereas "set" is simply set the named attribute value, creating the > attribute if need be, replacing the value if the attribute exists, > and then return success.
What is the purpose of these distinctions? Does anyone rely on them? Do such distinctions exist in an existing implementation?
Thanks.
Daniel
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |