From: Rock Lee <zimilo@code-trick.com>
To: Liu Bo <bo.li.liu@oracle.com>
Cc: David Arendt <admin@prnet.org>, linux-btrfs@vger.kernel.org
Subject: Re: extended attributes wiredness
Date: Wed, 28 Nov 2012 19:12:16 +0800 [thread overview]
Message-ID: <CAMRmmpJ_NCHMUyfS0Y0fRo_8TnEMc41s5ig3bji6u34PgL54Fg@mail.gmail.com> (raw)
In-Reply-To: <20121128105422.GB2791@liubo>
Also reproduced on my computer.
The strace result:
sudo strace -s4096 -e trace=setxattr,getxattr cp -a test1 test2
getxattr("test1", "system.posix_acl_access", 0x7ffffab440d0, 132) = -1
ENODATA (No data available)
setxattr("test2", "system.posix_acl_access",
"\x02\x00\x00\x00\x01\x00\x07\x00\xff\xff\xff\xff\x04\x00\x05\x00\xff\xff\xff\xff
\x00\x05\x00\xff\xff\xff\xff", 28, 0) = 0
getxattr("test1", "system.posix_acl_default", 0x7ffffab440d0, 132) =
-1 ENODATA (No data available)
setxattr("test2", "system.posix_acl_default", "\x02\x00\x00\x00", 4, 0) = 0
+++ exited with 0 +++
next prev parent reply other threads:[~2012-11-28 11:13 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-23 17:45 extended attributes wiredness David Arendt
2012-11-23 20:43 ` Garry T. Williams
2012-11-23 21:09 ` David Arendt
2012-11-24 3:39 ` Liu Bo
2012-11-24 7:17 ` David Arendt
2012-11-25 20:15 ` David Arendt
2012-11-26 2:54 ` Liu Bo
2012-11-26 5:38 ` David Arendt
2012-11-27 7:46 ` Liu Bo
2012-11-27 16:53 ` David Arendt
2012-11-27 19:20 ` David Arendt
2012-11-28 10:54 ` Liu Bo
2012-11-28 11:12 ` Rock Lee [this message]
2012-11-28 17:11 ` David Arendt
2012-11-27 21:18 ` David Arendt
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=CAMRmmpJ_NCHMUyfS0Y0fRo_8TnEMc41s5ig3bji6u34PgL54Fg@mail.gmail.com \
--to=zimilo@code-trick.com \
--cc=admin@prnet.org \
--cc=bo.li.liu@oracle.com \
--cc=linux-btrfs@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).