| To: | Christian Kujau <lists@xxxxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: attr vs. getfattr |
| From: | Brian Candler <B.Candler@xxxxxxxxx> |
| Date: | Fri, 8 Jun 2012 09:43:06 +0100 |
| Cc: | Eric Sandeen <sandeen@xxxxxxxxxxx>, xfs@xxxxxxxxxxx |
| Dkim-signature: | v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=date:from:to :cc:subject:message-id:references:mime-version:content-type :in-reply-to:content-transfer-encoding; s=sasl; bh=wjpxIOvLXcUhx HzoDc/Gx/Xd7t8=; b=FPclqODLI52WuOJ10kdQD/+fRo+WILQR+dJ0Xj3tQI4Fn UkfxEyZI4LqWJbo5Da3wxNvnj+Nr5wkgDQFli4I8qpdMfn4tTEEMNa9ayeb1fohp pRwLeUsf2fliEkK5Nl6lHXlFEbl0NUahlfhL/Uqhb63HTSI2JQAGLYJdBRpnig= |
| Domainkey-signature: | a=rsa-sha1; c=nofws; d=pobox.com; h=date:from:to:cc :subject:message-id:references:mime-version:content-type :in-reply-to:content-transfer-encoding; q=dns; s=sasl; b=vl6zFvm zEO6jETQNKg5pR/Uq9sW2/l4e50vXkVRZKH5ryq3FHF9eQ1w+5WPTPuoJ/YoH8qN Ee47pkGxDeqJbj7Cqr1r28ofM6yUU9PosRyc/DC5uWHjIgjYBVkBGo1qgGdI2+W3 DZtIuTlN6n+w5mb0ob+Wt94UQK9Q15Cxg+vA= |
| In-reply-to: | <alpine.DEB.2.01.1206071959230.5568@xxxxxxxxxxxxxx> |
| References: | <alpine.DEB.2.01.1206070508580.5568@xxxxxxxxxxxxxx> <4FD16983.5090901@xxxxxxxxxxx> <alpine.DEB.2.01.1206071959230.5568@xxxxxxxxxxxxxx> |
| User-agent: | Mutt/1.5.21 (2010-09-15) |
On Thu, Jun 07, 2012 at 08:01:06PM -0700, Christian Kujau wrote:
> On Thu, 7 Jun 2012 at 21:54, Eric Sandeen wrote:
> > > I.e. "nothing" is printed. I understand there's "attr" specifically for
> > > XFS filesystems and at least it displays that there *is* an attribute
> > > stored, but it cannot get its value:
> >
> > By default it's looking at the user namespace. You want to look at
> > security (or all) with -m:
>
> Aaargh! Namespaces...yes, of course. Thanks for reminding me and sorry for
> the noise.
I was recently bitten by this too, and I consider it a bug in the manpage.
-d, --dump
Dump the values of all extended attributes associated with path‐
name.
I'd say it's not unreasondable to read this and think that -d dumps *all*
extended attributes, because that's what it says.
Only if you read later do you find:
-m pattern, --match=pattern
Only include attributes with names matching the regular expression
pattern. The default value for pattern is "^user\\." ...
Regards,
Brian.
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH] xfs: kill copy and paste segment checks in xfs_file_aio_read, Dave Chinner |
|---|---|
| Next by Date: | Repeated XFS corruption on RAID-10 on Adaptec 51245, Christian J. Dietrich |
| Previous by Thread: | Re: attr vs. getfattr, Christian Kujau |
| Next by Thread: | [PATCH v2] xfs: re-enable xfsaild idle mode and fix associated races, Brian Foster |
| Indexes: | [Date] [Thread] [Top] [All Lists] |