Hi, A Question: The present linux desktop (at least mine on fc11) has NFS support in the Services menu. I doubt anyone uses this (I am not using it for sure). I don't know even what it is doing (is it supposed to compete Facebook and Google Me, or something).
Regards
--- On Tue, 6/29/10, desktop-request@lists.fedoraproject.org desktop-request@lists.fedoraproject.org wrote:
From: desktop-request@lists.fedoraproject.org desktop-request@lists.fedoraproject.org Subject: desktop Digest, Vol 76, Issue 13 To: desktop@lists.fedoraproject.org Date: Tuesday, June 29, 2010, 12:00 PM
Send desktop mailing list submissions to desktop@lists.fedoraproject.org
To subscribe or unsubscribe via the World Wide Web, visit https://admin.fedoraproject.org/mailman/listinfo/desktop or, via email, send a message with subject or body 'help' to desktop-request@lists.fedoraproject.org
You can reach the person managing the list at desktop-owner@lists.fedoraproject.org
When replying, please edit your Subject line so it is more specific than "Re: Contents of desktop digest..."
Today's Topics:
1. Re: Usefulness of extended attributes over NFS (Lennart Poettering)
----------------------------------------------------------------------
Message: 1 Date: Mon, 28 Jun 2010 16:07:05 +0200 From: Lennart Poettering mzerqung@0pointer.de Subject: Re: Usefulness of extended attributes over NFS To: desktop@lists.fedoraproject.org Message-ID: 20100628140702.GA6527@tango.0pointer.de Content-Type: text/plain; charset=us-ascii
On Mon, 28.06.10 09:18, James Morris (jmorris@namei.org) wrote:
I've been working on an implementation of extended attributes for NFSv3, which would enable getxattr(2) and friends over the network.
Here's a link to the latest patchset: http://lwn.net/Articles/392944/
and my LinuxCon slides on the topic from last year: http://namei.org/presentations/linuxcon09_nfsv3xattrs.pdf
I've been asked by the upstream NFS maintainers about general use-cases for this feature. We have a concrete requirement to convey security labels over NFS, although it's not clear how much need there is for user-managed extended attributes (e.g. user.foo)
I was wondering if anyone could offer examples or insights into whether Linux desktop apps are making much use of extended attributes, or whether they might if NFS support were available. (I'm aware of Beagle, which is probably not great over NFS in any case).
Well, I think there's a bit of a chicken and egg problem. Since XATTRs are not available on so many file systems (not even tmpfs has them) and there is no nice way to test whether they work (except by creating an attribute), nobody uses them. That said GLib's GIO framework (i..e the API modern gtk programs use to access files) has complete coverage for extended attributes, but probably not many folks actually use those APIs. Also, the fact that they need to be enabled manually (via the user_xattr mount option) is problematic.
Samba uses user xattrs. Then, there's a somewhat standardized scheme for storing the MIME type of a file in an extended attribute, as an optional implementation feature fo rthe XDG MIME info spec:
http://standards.freedesktop.org/shared-mime-info-spec/shared-mime-info-spec...
However, at least Gtk/GLib/GIO do not implement that optional part. I once wrote an Apache module that added support for that user.mime_type xattr to Apache: http://0pointer.de/lennart/projects/mod_mime_xattr/
However, that's mostly where he story ends I think, it is indeed not widely used. Generally I believe they are useful however, and if they would be ubiquitiously available they'd probably be used more often. However, for that to happen we'd also need something like a fpathconf() check or so to figure out whether user xattrs are allowed or not.
I'd be particularly interested in user xattrs support on the virtual file systems such as /proc, /sys and tmpfs. Neither of those file systems have support for this right now, but especially for /proc it could become very handy to export additional meta information about processes on the /proc/$PID directory.
Lennart
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 6/30/10 1:17 AM, Hristo Petkov wrote:
Hi, A Question: The present linux desktop (at least mine on fc11) has NFS support in the Services menu. I doubt anyone uses this (I am not using it for sure). I don't know even what it is doing (is it supposed to compete Facebook and Google Me, or something).
Couple of things.
1) please don't reply to a full digest. It reads horribly and many people (like me) skip it.
2) FC11 is an end of life release, hardly considered "present". That would be Fedora 13. (no longer called Core as of Fedora 7).
3) NFS is Network File System http://en.wikipedia.org/wiki/Network_File_System_%28protocol%29 and it has absolutely nothing to do with Facebook or Google Me.
4) There was no question in your email.
- -- Jesse Keating RHCE (http://jkeating.livejournal.com) Fedora Project (http://fedoraproject.org/wiki/JesseKeating) GPG Public Key (geek.j2solutions.net/jkeating.j2solutions.pub) identi.ca (http://identi.ca/jkeating)
desktop@lists.fedoraproject.org