/[fuse.before_github]/perl-llin/examples/loopback.pl
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Log of /perl-llin/examples/loopback.pl

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (annotate)
Sticky Revision:

Revision 112 - (view) (annotate) - [select for diffs]
Modified Thu Nov 15 09:32:08 2007 UTC (14 years ago) by dpavlin
File length: 4329 byte(s)
Diff to previous 23
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 23 - (view) (annotate) - [select for diffs]
Modified Mon Jan 2 20:31:19 2006 UTC (15 years, 10 months ago) by dpavlin
File length: 3691 byte(s)
Diff to previous 21
added blib, create /tmp/fusetest-$ENV{LOGNAME} (from directory for loopback) if it doesn't
exist. mounted directory will be empty when mounted.

Revision 21 - (view) (annotate) - [select for diffs]
Modified Mon Jan 2 19:50:33 2006 UTC (15 years, 10 months ago) by dpavlin
File length: 3562 byte(s)
Diff to previous 19
working copy

Revision 19 - (view) (annotate) - [select for diffs]
Modified Tue Dec 27 12:47:00 2005 UTC (15 years, 11 months ago) by dpavlin
Original Path: perl/trunk/examples/loopback.pl
File length: 3562 byte(s)
Diff to previous 18
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 - (view) (annotate) - [select for diffs]
Modified Wed Dec 21 15:33:37 2005 UTC (15 years, 11 months ago) by dpavlin
Original Path: perl/trunk/examples/loopback.pl
File length: 3562 byte(s)
Diff to previous 10
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 10 - (view) (annotate) - [select for diffs]
Modified Sun Mar 20 00:36:05 2005 UTC (16 years, 8 months ago) by dpavlin
Original Path: perl/trunk/examples/loopback.pl
File length: 3474 byte(s)
Diff to previous 4
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 4 - (view) (annotate) - [select for diffs]
Added Thu Nov 11 14:44:15 2004 UTC (17 years ago) by mszeredi
Original Path: perl/trunk/examples/loopback.pl
File length: 3457 byte(s)
Initial revision


This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

  ViewVC Help
Powered by ViewVC 1.1.26