From: Daniel Phillips <phillips@phunq.net>
To: linux-fsdevel@vger.kernel.org
Subject: Semantics of setting an extended attribute to empty vs removexattr?
Date: Wed, 24 Sep 2008 15:19:18 -0700 [thread overview]
Message-ID: <200809241519.19202.phillips@phunq.net> (raw)
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
next reply other threads:[~2008-09-24 22:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-24 22:19 Daniel Phillips [this message]
2008-09-24 23:41 ` Semantics of setting an extended attribute to empty vs removexattr? Nathan Scott
2008-09-25 0:38 ` Daniel Phillips
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200809241519.19202.phillips@phunq.net \
--to=phillips@phunq.net \
--cc=linux-fsdevel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).