>How should the shell then be able to access the XATTR files ? Almost
>everything in the original Unix was contructed around files and the
>shell and therefore I don't feel well with suddenly having to deal with
>filesystem objects which are inaccessible from the shell.
>And as I said in
>http://mail.opensolaris.org/pipermail/opensolaris-discuss/2006-May/016308.html
>- adding XATTR support to the shells is not the right way. The kernel
>must handle the burden of XATTR support and the XATTR files and
>directories need to be accessible from the normal filesystem namespace.
>Otherwise IMO all hope is lost for proper XATTR support in shells.

So what syntax do you propose?

I could think of something like:

        //@<pathname>

for:
        //@/            - attributes of /
        //@file         - attributes of ./file
        //@/usr/bin     - attributes of /usr/bin

Note that you really need to start the pathname with "//" to fall under
the "POSIX double slash" rule which is the only allowable pathname
parsing exception.

Casper
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to