Added contributed filesystem described in e-mail message below:
authorDobrica Pavlinusic <dpavlin@rot13.org>
Thu, 6 Dec 2007 10:58:07 +0000 (10:58 +0000)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Thu, 6 Dec 2007 10:58:07 +0000 (10:58 +0000)
commitde86fbf28aa5066f680e04d67420c0efd8ef23fa
treeb73ffddd8fe903645b368664f9e9855dab38b9f7
parent7210858b5f48edd70b4933f207435b96ba71bcc8
Added contributed filesystem described in e-mail message below:

From: Reuben Thomas <rrt@sc3d.org>
To: dpavlin@rot13.org
Subject: Contribution of sample FS to Fuse

Hi,

I'm just putting the finishing touches to an FS I wrote with Fuse, which
was invaluable, as I couldn't contemplate writing it in C (it's just not
important enough for that much pain!).

I've called it filter_attr_t.pl. It is just loopback_t.pl, augmented with a
function and a little logic so that only files that possess extended
attribute given at mount time are visible. Further, if you try to write to
a file that exists but is not tagged (and hence invisible), you get
-EEXIST, and if you try to unlink a tagged file, it is merely untagged
rather than actually unlinked.

My use for this is to use the backup program Unison, which synchronises two
directory trees, to synch my PDA and my home directory, while excluding
most of the files in my home dir (which would simply not fit in my PDA's
16Mb of file space!). I was amazed to find I couldn't see a FUSE fs which
would do this already, and I was nearly in despair when I remembered Fuse,
and, sure enough, it looked a lot easier than writing a FUSE fs in C.

Of course, the example code was also invaluable, as without it I would have
taken much longer to write the code, and I wouldn't have known some of the
traps.

So, a big thank you, and I attach the current version.

--
http://rrt.sc3d.org/ | Slow Pedestrian Crossing (Anon)

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/fuse/perl-llin@116 6e4b0b00-1209-0410-87b2-b275959b5705
AUTHORS
examples/filter_attr_fs.pl [new file with mode: 0755]