April Chin wrote: > > April Chin wrote: > > > > From: Roland Mainz <roland.mainz at nrubsig.org> > > > > Joerg Schilling wrote: > > > > > Roland Mainz <roland.mainz at nrubsig.org> wrote: > > > > > > Markus Gyger wrote: > > > > > > > I patched ksh93n+ back then so that cd -@ could be used to access > > > > > > > extended file attributes (instead of having to use runat). Patch > > > > > > > is > at > > > > > > > http://www.blastwave.org/mantis/show_news?f_project_id=0000027 > > > > > > > > > > > > http://www.blastwave.org/~mgyger/ast.diff.gz is the lastest patch, > right > > > > > > ? > > > > > > > > > > > > > (dated, of course). > > > > > > > > > > > > How common are the XATTR extension, e.g. is there any other OS which > > > > > > supports this feature+userspace API ? Is there any other shell which > > > > > > supports "cd -@" ? > > > > > > > > > > Currently only Solaris supports it but other OS are underway to > implement > > > full > > > > > NFSv4 support which usually includes XATTR support. > > > > > > > > Is the XATTR userspace API some kind of standard (UnixXXX or something > > > > like that) ? > > > > > > No, the extended attributes interfaces in Solaris are not specified by the > > > standards. > > > > Even no drafts or standard proposals (well, I am worrying what the Linux > > people may do with the API... ;-( ) ? > > I asked our standards expert, and there is nothing being proposed for > extended attributes, e.g., no specifications for -@ options for > utilities. There is a draft of a subset of functionality for > *at() interfaces (operations against > a path relative to a fd) proposed for *possible* inclusion in the next > revision of SUSv3, but again, not dealing with extended attributes.
I think it is important to invite the people (e.g. who (emails!) wrote this new API ?) who wrote this API to discuss how the shell should handle these special files. The lack of a standard and the fact that these files are completely inaccessible from within a shell session is a very bad thing and should be addressed before inclusion into SuSv3 is done. ---- Bye, Roland -- __ . . __ (o.\ \/ /.o) roland.mainz at nrubsig.org \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O /==\ O\ TEL +49 641 7950090 (;O/ \/ \O;)
