linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC] ioctl vs xattr for the filesystem specific attributes
@ 2003-08-09 15:49 OGAWA Hirofumi
  2003-08-17 18:14 ` Rob North
  0 siblings, 1 reply; 4+ messages in thread
From: OGAWA Hirofumi @ 2003-08-09 15:49 UTC (permalink / raw)
  To: linux-kernel


Hi,

Bastien Roucaries <roucariesbastien@yahoo.fr> writes:

> This patch implement an "extended attributes" (XATTR) hook in aim to read or
> modify specific  fatfs flags' like ARCHIVE or SYSTEM.
> 
> I believe it's a good idea  because :
> 	- PAX ( GNU replacement of tar) save and restore XATTRs, so you can make more
> exact save of FATfs without use of specific programs.
> 	- It's an elegant means to avoid use of mattrib.
> 	- Samba can use this .
> but CONS :
> 	- use 2 Kb of kernel memory.

Bastien Roucaries <roucariesbastien@yahoo.fr> writes:

> Indeed some flags are shared by many namespace for instance immutable is 
> shared by xfs,ext2/3,jfs and by the fat ( with a special mount option). 
> Compress also is a very common flag
> This flags are in the "common" sub-namespace.
> 
> But some are fs specifics for instance notail attr of reiserfs,shortname of 
> fat.They are in the the "spec"sub-namespace

I received the above email.

This read/modify the file attributes of filesystem specific via xattr
interface (in this case, ARCHIVE, SYSTEM, HIDDEN flags of fatfs).

Yes, also we can provide it via ioctl like ext2/ext3 does now.

But if those flags provides by xattr interfaces and via one namespace
prefix, I guess the app can save/restore easy without dependency of
one fs.

Which interface would we use for attributes of filesystem specific?
Also if we use xattr, what namepace prefix should be used?

Any idea?

Thanks.

-- 
OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>

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

end of thread, other threads:[~2003-08-18 15:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-09 15:49 [RFC] ioctl vs xattr for the filesystem specific attributes OGAWA Hirofumi
2003-08-17 18:14 ` Rob North
2003-08-18  0:13   ` jw schultz
2003-08-18 15:00     ` OGAWA Hirofumi

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).