linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Semantics of setting an extended attribute to empty vs removexattr?
@ 2008-09-24 22:19 Daniel Phillips
  2008-09-24 23:41 ` Nathan Scott
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Phillips @ 2008-09-24 22:19 UTC (permalink / raw)
  To: linux-fsdevel

Hi,

Does anybody have an opinion on whether setting an extended attribute
to empty using the setxattr interface is supposed to be semantically
equivalent to removing the xattr using removexattr?

I rather wish this were the case in the interest of a robust usage
model, but I pessimistically expect to learn that, no, an empty xattr
is indeed different from an nonexistent xattr, similer to environment
variables.

Regards,

Daniel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-09-25  0:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-24 22:19 Semantics of setting an extended attribute to empty vs removexattr? Daniel Phillips
2008-09-24 23:41 ` Nathan Scott
2008-09-25  0:38   ` Daniel Phillips

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).