xfs
[Top] [All Lists]

Extended Attributes Question

To: linux-xfs@xxxxxxxxxxx
Subject: Extended Attributes Question
From: Matthew Whitehead <mrw@xxxxxxxxxxxxxxxxxx>
Date: Thu, 13 Oct 2005 14:05:05 -0400
Cc: "'Kent Kamischke'" <kent@xxxxxxx>, Pamela Kennedy <pkennedy@xxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040530 Debian/1.6-6.backports.org.1
Dear SGI,
I'm at sysadmin at NASA Goddard Space Flight Center. Our sister site is NASA Ames (Columbia). I have an enhancement idea I wanted to bounce off you.

For XFS filesystem extended attributes, I'd like a way to automatically set these attributes. Counting on users to do it themselves just doesn't work.

Could you modify the code of sys_creat/sys_open in fs/open.c to check for the existence of environment variables and set the attribute/value pairs automatically? Say, an environment variable with the prefix FILE_XATTR_* ?

Also, system wide defaults set in an /etc file would also be nice.
Storing the name of the binary running that creates the file would be good.

- Matthew


<Prev in Thread] Current Thread [Next in Thread>