This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
Log of /perl-llin
Directory Listing
Revision
118 -
Directory Listing
Modified
Mon Jan 21 16:36:57 2008 UTC
(16 years, 4 months ago)
by
dpavlin
fuse_get_context documentation patch from jaslong
Revision
117 -
Directory Listing
Modified
Mon Jan 7 11:45:54 2008 UTC
(16 years, 5 months ago)
by
dpavlin
update from Reuben Thomas: fixes a bug in mkdir (failed to tag, so newly
created dir was not visible in the filtered fs), and makes error reporting a
little better (if tag routine returns an error, that is propagated).
Revision
116 -
Directory Listing
Modified
Thu Dec 6 10:58:07 2007 UTC
(16 years, 6 months ago)
by
dpavlin
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)
Revision
113 -
Directory Listing
Modified
Thu Nov 15 09:33:07 2007 UTC
(16 years, 7 months ago)
by
dpavlin
added Chris, bump version to 0.09
Revision
112 -
Directory Listing
Modified
Thu Nov 15 09:32:08 2007 UTC
(16 years, 7 months ago)
by
dpavlin
patch from Chris Dolan via rt.cpan.org #30631
This patch gets Fuse.pm to half-work on MacOSX with the current release
of MacFuse (v1.1.0). By half-work, I mean that all of the directory
actions and file read actions work, but anything that involves writing a
file fails. This appears to be because the latest MacFUSE implements
FUSE 2.6, which prefers to call CREATE instead of MKNOD. Nonetheless,
recommend that something like this patch be included because it makes
read-only filesystems usable on Darwin systems. Some of my changes
(like kill() instead of system("kill")) are improvements on any system.
I've tested only on my PowerPC G5 iMac running 10.4.
I intend to also try MacFUSE v0.4 via Fink, but that version is
reportedly less stable than the latest MacFUSE.
Revision
111 -
Directory Listing
Modified
Thu Nov 15 09:23:22 2007 UTC
(16 years, 7 months ago)
by
dpavlin
calls mount instread of cat /proc/mountpoints to make it less Linux specific
Revision
110 -
Directory Listing
Modified
Sat Jan 20 20:27:57 2007 UTC
(17 years, 4 months ago)
by
dpavlin
one more define (_FILE_OFFSET_BITS=64) on darwin
Revision
108 -
Directory Listing
Modified
Sat Jan 20 12:21:12 2007 UTC
(17 years, 4 months ago)
by
dpavlin
Changes from Marc to implement fuse_get_context():
* an XS function to get the data
* a mention of it in Fuse.pm so it can be exported properly
* a pretty ugly hack to example.pl, which is how I tested it.
Revision
107 -
Directory Listing
Modified
Sun Dec 3 11:25:02 2006 UTC
(17 years, 6 months ago)
by
dpavlin
fixes for Andrew for dh-make-perl which uses fakeroot
Revision
106 -
Directory Listing
Modified
Wed Nov 29 13:27:59 2006 UTC
(17 years, 6 months ago)
by
dpavlin
bump version to 0.08, added Changes for this version
Revision
104 -
Directory Listing
Modified
Thu Nov 9 16:07:18 2006 UTC
(17 years, 7 months ago)
by
dpavlin
warn about required permissions also
Revision
103 -
Directory Listing
Modified
Thu Oct 19 15:52:42 2006 UTC
(17 years, 8 months ago)
by
dpavlin
make CPANPLUS happy and don't report errors if fuse isn't installed
Revision
102 -
Directory Listing
Modified
Tue Aug 29 15:26:57 2006 UTC
(17 years, 9 months ago)
by
dpavlin
fix path to local svn
Revision
101 -
Directory Listing
Modified
Tue Aug 22 11:37:12 2006 UTC
(17 years, 9 months ago)
by
dpavlin
patch from Mark Glines to allow Fuse to be run from a non-master thread
Revision
95 -
Directory Listing
Modified
Tue Jun 6 14:23:44 2006 UTC
(18 years ago)
by
dpavlin
CPAN release 0.07
Revision
94 -
Directory Listing
Modified
Tue Jun 6 14:22:36 2006 UTC
(18 years ago)
by
dpavlin
use mount_fusefs on FreeBSD to get fuse version
Revision
93 -
Directory Listing
Modified
Mon May 29 09:15:28 2006 UTC
(18 years ago)
by
dpavlin
Fix ISO C90 warnings
Revision
92 -
Directory Listing
Modified
Mon May 29 08:57:50 2006 UTC
(18 years ago)
by
dpavlin
Mark Glines fixed problem with newer fuse versions
Revision
91 -
Directory Listing
Modified
Tue May 23 15:38:12 2006 UTC
(18 years ago)
by
dpavlin
bump version
Revision
89 -
Directory Listing
Modified
Tue May 23 14:45:53 2006 UTC
(18 years ago)
by
dpavlin
Vladimir V. Kolpakov contributed cleanup patch
Revision
88 -
Directory Listing
Modified
Tue May 23 14:45:23 2006 UTC
(18 years ago)
by
dpavlin
whitespace fixes
Revision
87 -
Directory Listing
Modified
Tue May 23 14:28:34 2006 UTC
(18 years ago)
by
dpavlin
fix parametars is there is no debug option
Revision
86 -
Directory Listing
Modified
Tue May 23 11:15:22 2006 UTC
(18 years ago)
by
dpavlin
require at least fuse 2.5
Revision
83 -
Directory Listing
Modified
Tue Jan 3 17:51:37 2006 UTC
(18 years, 5 months ago)
by
dpavlin
r72@llin (orig r72): dpavlin | 2006-01-03 16:43:12 +0100
subversion revision 66 commited to CVS
r73@llin (orig r73): dpavlin | 2006-01-03 16:43:19 +0100
use Fuse from just compiled blib (again...)
r74@llin (orig r74): dpavlin | 2006-01-03 16:43:24 +0100
subversion revision 67 commited to CVS
r75@llin (orig r75): dpavlin | 2006-01-03 16:43:29 +0100
added __FreeBSD__ compilation fixes
r76@llin (orig r76): dpavlin | 2006-01-03 16:43:37 +0100
subversion revision 68 commited to CVS
r77@llin (orig r77): dpavlin | 2006-01-03 16:43:44 +0100
0.07_3 which works on FreeBSD (tests are still broken)
r78@llin (orig r78): dpavlin | 2006-01-03 16:43:52 +0100
subversion revision 69 commited to CVS
r79@llin (orig r79): dpavlin | 2006-01-03 16:43:59 +0100
update to 0.07_3
r80@llin (orig r80): dpavlin | 2006-01-03 16:44:06 +0100
subversion revision 70 commited to CVS
r81@llin (orig r81): dpavlin | 2006-01-03 17:45:43 +0100
remove DEBUGf
r82@llin (orig r82): dpavlin | 2006-01-03 17:45:51 +0100
subversion revision 71 commited to CVS
Revision
71 -
Directory Listing
Modified
Tue Jan 3 17:27:32 2006 UTC
(18 years, 5 months ago)
by
dpavlin
remove DEBUGf
Revision
70 -
Directory Listing
Modified
Tue Jan 3 16:42:44 2006 UTC
(18 years, 5 months ago)
by
dpavlin
update to 0.07_3
Revision
69 -
Directory Listing
Modified
Tue Jan 3 16:42:06 2006 UTC
(18 years, 5 months ago)
by
dpavlin
0.07_3 which works on FreeBSD (tests are still broken)
Revision
68 -
Directory Listing
Modified
Tue Jan 3 16:21:13 2006 UTC
(18 years, 5 months ago)
by
dpavlin
added __FreeBSD__ compilation fixes
Revision
67 -
Directory Listing
Modified
Tue Jan 3 16:20:50 2006 UTC
(18 years, 5 months ago)
by
dpavlin
use Fuse from just compiled blib (again...)
Revision
66 -
Directory Listing
Modified
Tue Jan 3 15:45:18 2006 UTC
(18 years, 5 months ago)
by
dpavlin
r61@llin (orig r61): dpavlin | 2006-01-02 23:58:53 +0100
subversion revision 58 commited to CVS
r62@llin (orig r62): dpavlin | 2006-01-02 23:58:59 +0100
target sf to update SourceForge CVS repository of FUSE
r63@llin (orig r63): dpavlin | 2006-01-02 23:59:04 +0100
subversion revision 59 commited to CVS
r64@llin (orig r64): dpavlin | 2006-01-03 15:43:34 +0100
added -D_FILE_OFFSET_BITS=64 need for FreeBSD compilation
r65@llin (orig r65): dpavlin | 2006-01-03 15:43:45 +0100
subversion revision 60 commited to CVS
Revision
60 -
Directory Listing
Modified
Tue Jan 3 15:42:57 2006 UTC
(18 years, 5 months ago)
by
dpavlin
added -D_FILE_OFFSET_BITS=64 need for FreeBSD compilation
Revision
59 -
Directory Listing
Modified
Mon Jan 2 23:58:33 2006 UTC
(18 years, 5 months ago)
by
dpavlin
target sf to update SourceForge CVS repository of FUSE
Revision
58 -
Directory Listing
Modified
Mon Jan 2 23:56:47 2006 UTC
(18 years, 5 months ago)
by
dpavlin
r34@llin (orig r34): dpavlin | 2006-01-02 23:49:24 +0100
working copy
r35@llin (orig r35): dpavlin | 2006-01-02 23:49:28 +0100
subversion revision 21 commited to CVS
r36@llin (orig r36): dpavlin | 2006-01-02 23:49:33 +0100
diag output
r37@llin (orig r37): dpavlin | 2006-01-02 23:49:37 +0100
subversion revision 22 commited to CVS
r38@llin (orig r38): dpavlin | 2006-01-02 23:49:41 +0100
added blib, create /tmp/fusetest-$ENV{LOGNAME} (from directory for loopback) if it doesn't
exist. mounted directory will be empty when mounted.
r39@llin (orig r39): dpavlin | 2006-01-02 23:49:45 +0100
subversion revision 23 commited to CVS
r40@llin (orig r40): dpavlin | 2006-01-02 23:49:49 +0100
0.07_1
r41@llin (orig r41): dpavlin | 2006-01-02 23:49:53 +0100
subversion revision 24 commited to CVS
r42@llin (orig r42): dpavlin | 2006-01-02 23:51:57 +0100
use version just built
r43@llin (orig r43): dpavlin | 2006-01-02 23:52:01 +0100
subversion revision 25 commited to CVS
r44@llin (orig r44): dpavlin | 2006-01-02 23:52:05 +0100
partial fix for statfs (namelen is still broken) [0.07_2]
r45@llin (orig r45): dpavlin | 2006-01-02 23:52:10 +0100
subversion revision 26 commited to CVS
r46@llin (orig r46): dpavlin | 2006-01-02 23:52:14 +0100
convert output to diag, zero buffer (I hope)
r47@llin (orig r47): dpavlin | 2006-01-02 23:52:18 +0100
subversion revision 27 commited to CVS
r48@llin (orig r48): dpavlin | 2006-01-02 23:52:22 +0100
fix 6 and 7 parametar handling
r49@llin (orig r49): dpavlin | 2006-01-02 23:52:26 +0100
subversion revision 28 commited to CVS
r50@llin (orig r50): dpavlin | 2006-01-02 23:52:30 +0100
use pkg-config
r51@llin (orig r51): dpavlin | 2006-01-02 23:52:35 +0100
subversion revision 29 commited to CVS
r52@llin (orig r52): dpavlin | 2006-01-02 23:52:44 +0100
added example filesystem which uses Filesys::Statvfs to implement statfs
r53@llin (orig r53): dpavlin | 2006-01-02 23:52:48 +0100
subversion revision 30 commited to CVS
r54@llin (orig r54): dpavlin | 2006-01-02 23:52:52 +0100
fallback to defaults if pkg-config is not found
r55@llin (orig r55): dpavlin | 2006-01-02 23:52:57 +0100
subversion revision 31 commited to CVS
r56@llin (orig r56): dpavlin | 2006-01-02 23:53:01 +0100
added example
r57@llin (orig r57): dpavlin | 2006-01-02 23:53:05 +0100
subversion revision 32 commited to CVS
Revision
32 -
Directory Listing
Modified
Mon Jan 2 23:43:38 2006 UTC
(18 years, 5 months ago)
by
dpavlin
added example
Revision
31 -
Directory Listing
Modified
Mon Jan 2 23:40:24 2006 UTC
(18 years, 5 months ago)
by
dpavlin
fallback to defaults if pkg-config is not found
Revision
30 -
Directory Listing
Modified
Mon Jan 2 23:19:28 2006 UTC
(18 years, 5 months ago)
by
dpavlin
added example filesystem which uses Filesys::Statvfs to implement statfs
Revision
29 -
Directory Listing
Modified
Mon Jan 2 23:07:14 2006 UTC
(18 years, 5 months ago)
by
dpavlin
use pkg-config
Revision
28 -
Directory Listing
Modified
Mon Jan 2 22:39:32 2006 UTC
(18 years, 5 months ago)
by
dpavlin
fix 6 and 7 parametar handling
Revision
27 -
Directory Listing
Modified
Mon Jan 2 22:38:50 2006 UTC
(18 years, 5 months ago)
by
dpavlin
convert output to diag, zero buffer (I hope)
Revision
26 -
Directory Listing
Modified
Mon Jan 2 22:24:03 2006 UTC
(18 years, 5 months ago)
by
dpavlin
partial fix for statfs (namelen is still broken) [0.07_2]
Revision
25 -
Directory Listing
Modified
Mon Jan 2 22:04:31 2006 UTC
(18 years, 5 months ago)
by
dpavlin
use version just built
Revision
24 -
Directory Listing
Modified
Mon Jan 2 21:03:43 2006 UTC
(18 years, 5 months ago)
by
dpavlin
0.07_1
Revision
23 -
Directory Listing
Modified
Mon Jan 2 20:31:19 2006 UTC
(18 years, 5 months ago)
by
dpavlin
added blib, create /tmp/fusetest-$ENV{LOGNAME} (from directory for loopback) if it doesn't
exist. mounted directory will be empty when mounted.
Revision
22 -
Directory Listing
Modified
Mon Jan 2 20:29:57 2006 UTC
(18 years, 5 months ago)
by
dpavlin
diag output
Revision
21 -
Directory Listing
Modified
Mon Jan 2 19:50:33 2006 UTC
(18 years, 5 months ago)
by
dpavlin
Copied from:
perl/trunk revision 20
working copy
Revision
20 -
Directory Listing
Modified
Tue Dec 27 14:49:31 2005 UTC
(18 years, 5 months ago)
by
dpavlin
Original Path:
perl/trunk
added missing example, 0.07_1
Revision
19 -
Directory Listing
Modified
Tue Dec 27 12:47:00 2005 UTC
(18 years, 5 months ago)
by
dpavlin
Original Path:
perl/trunk
Changes from Mark Glines in preparation for 0.07
- Remove the FUSE_DEBUG constant; we never actually implemented
it to begin with.
- "make test" now uses the version of Fuse you've just built,
not the one installed in /usr/lib/perl5.
- getattr test now allows blksize to vary between host and fuse
fs, as this is not a bug.
- Add experimental support for threading. The following minor
API changes accommodate this:
- The nonexistent (yet documented) "unthreaded=>1" attribute
has been replaced with the "threaded=>1" attribute, and this
time it actually exists.
- Symbolic refs like "main::e_getattr" are now allowed for
callbacks, because threaded mode needs to share() the
callbacks, yet perl 5.8.7 does not allow share()ing code
refs yet. Direct code-refs are still supported as much
as possible (currently, non-threaded mode).
- testsuite uses a multithreaded loopback.pl, when available.
- Update docs accordingly. Update examples accordingly.
Revision
18 -
Directory Listing
Modified
Wed Dec 21 15:33:37 2005 UTC
(18 years, 5 months ago)
by
dpavlin
Original Path:
perl/trunk
Mark Glines changes to add ithreads support:
* Support threading
* Fix the DEBUGf stuff, it seems to segfault these days
* Update the docs
* scrub off some bitrot
Revision
17 -
Directory Listing
Modified
Wed Jun 22 16:20:33 2005 UTC
(18 years, 11 months ago)
by
dpavlin
Original Path:
perl/trunk
updated for release 0.06
Revision
16 -
Directory Listing
Modified
Wed Jun 22 16:15:17 2005 UTC
(18 years, 11 months ago)
by
dpavlin
Original Path:
perl/trunk
added changes from Mark Wilkinson to support mount options, list all
contributors in AUTHORS, added pod tests
Revision
15 -
Directory Listing
Modified
Wed Jun 22 15:22:02 2005 UTC
(18 years, 11 months ago)
by
dpavlin
Original Path:
perl/trunk
updated README file
Revision
14 -
Directory Listing
Modified
Sun Apr 10 13:30:11 2005 UTC
(19 years, 2 months ago)
by
richdawe
Original Path:
perl/trunk
Add support for operations supported by FUSE 2.2.1 (flush, release, fsync, extended attributes); bump version to 0.06.
Revision
13 -
Directory Listing
Modified
Tue Mar 22 10:21:12 2005 UTC
(19 years, 2 months ago)
by
dpavlin
Original Path:
perl/trunk
added missing META.yml, include tests and examples in distribution
Revision
11 -
Directory Listing
Modified
Sun Mar 20 00:37:31 2005 UTC
(19 years, 3 months ago)
by
dpavlin
Original Path:
perl/trunk
Richard Dawe <rich(at)phekda(dot)gotadsl(dot)co(dot)uk>
Please find attached a patch that makes statfs.t pass on the x86_64
architecture. With Linux on x86_64 statfs returns 64-bit fields by default, so
the unpack format returns junk.
I also found that I would get a glibc warning about memory corruption. This is
because the statfs structure returned by the kernel includes some padding for
future expansion. So the statfs buffer also needed to be made bigger.
Revision
10 -
Directory Listing
Modified
Sun Mar 20 00:36:05 2005 UTC
(19 years, 3 months ago)
by
dpavlin
Original Path:
perl/trunk
From: Richard Dawe <rich(at)phekda(dot)gotadsl(dot)co(dot)uk>
Please find attached a patch that allows Fuse.pm's test suite to run as a
non-root user. It will skip all the tests that require root priveleges (giving
away ownership using chown, mknod of character and block devices). The patch
creates a test root and mount point per user.
The patch also uses POSIX::WEXITSTATUS instead of the less portable "$? >> 8"
idiom.
Revision
9 -
Directory Listing
Modified
Fri Jan 7 23:38:41 2005 UTC
(19 years, 5 months ago)
by
dpavlin
Original Path:
perl/trunk
compilation fix
Revision
8 -
Directory Listing
Modified
Fri Nov 26 20:38:56 2004 UTC
(19 years, 6 months ago)
by
dpavlin
Original Path:
perl/trunk
It seems that blockcount isn't last argument any longer. Fixed.
Revision
7 -
Directory Listing
Modified
Thu Nov 18 12:09:10 2004 UTC
(19 years, 7 months ago)
by
dpavlin
Original Path:
perl/trunk
fix compilation problems
Revision
4 -
Directory Listing
Modified
Thu Nov 11 14:44:15 2004 UTC
(19 years, 7 months ago)
by
mszeredi
Original Path:
perl/trunk
Initial revision
Revision
3 -
Directory Listing
Modified
Thu Dec 29 16:19:29 2005 UTC
(18 years, 5 months ago)
by
dpavlin
Original Path:
perl/trunk
[vcp] select <> as trunk
Revision
2 -
Directory Listing
Added
Thu Dec 29 16:19:23 2005 UTC
(18 years, 5 months ago)
by
VCP
Original Path:
perl/trunk
VCP: initializing layout