* Can someone explain s_xattr field in the superblock?
@ 2011-05-28 15:52 Sam Gandhi
2011-05-31 23:28 ` Ted Ts'o
0 siblings, 1 reply; 2+ messages in thread
From: Sam Gandhi @ 2011-05-28 15:52 UTC (permalink / raw)
To: linux-kernel
Hello,
I have seen some file systems like jffs2/ext4 etc setup the s_xattr
field in the superblock structure.
But there are files systems that do not initialize s_xattr field in
the superblock.
Can someone kindly explain what functionality does s_xattr on super
block provides? What kinds of things file system wouldn't be able to
do if the superblock doesn't have this initialized?
Thanks.
-Sam
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Can someone explain s_xattr field in the superblock?
2011-05-28 15:52 Can someone explain s_xattr field in the superblock? Sam Gandhi
@ 2011-05-31 23:28 ` Ted Ts'o
0 siblings, 0 replies; 2+ messages in thread
From: Ted Ts'o @ 2011-05-31 23:28 UTC (permalink / raw)
To: Sam Gandhi; +Cc: linux-kernel
On Sat, May 28, 2011 at 08:52:41AM -0700, Sam Gandhi wrote:
>
> I have seen some file systems like jffs2/ext4 etc setup the s_xattr
> field in the superblock structure.
> But there are files systems that do not initialize s_xattr field in
> the superblock.
>
> Can someone kindly explain what functionality does s_xattr on super
> block provides? What kinds of things file system wouldn't be able to
> do if the superblock doesn't have this initialized?
It provides support for extended attributes, which is often
abbreviated as (not surpisingly) xattr. Some file systems don't
support extended attributes, so they don't need to setup s_xattr.
For more information, read the attr(5) man page: "man 5 attr".
- Ted
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-06-01 2:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-28 15:52 Can someone explain s_xattr field in the superblock? Sam Gandhi
2011-05-31 23:28 ` Ted Ts'o
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox