perl-fuse.git
13 years agocredit Derrik with 64-bit changes
Dobrica Pavlinusic [Tue, 15 Feb 2011 12:42:40 +0000 (13:42 +0100)]
credit Derrik with 64-bit changes

13 years agoupdated Fuse binding to utilize thread-safe static data
Daniel Frett [Mon, 14 Feb 2011 21:25:44 +0000 (16:25 -0500)]
updated Fuse binding to utilize thread-safe static data

This fixes RT #34284

13 years agodocument changes in 0.10_1
Dobrica Pavlinusic [Mon, 17 Jan 2011 19:29:15 +0000 (20:29 +0100)]
document changes in 0.10_1

13 years agobump version to 0.10_1
Dobrica Pavlinusic [Mon, 17 Jan 2011 19:26:27 +0000 (20:26 +0100)]
bump version to 0.10_1

13 years agoMerge remote branch 'remotes/origin/64-bit'
Dobrica Pavlinusic [Mon, 17 Jan 2011 19:24:51 +0000 (20:24 +0100)]
Merge remote branch 'remotes/origin/64-bit'

13 years ago64-bit support, 2.6 binding
Derrik Pates [Thu, 9 Dec 2010 21:26:18 +0000 (22:26 +0100)]
64-bit support, 2.6 binding

I am (somewhat indirectly, now) using the Fuse package, which you maintain,
as the basis for a set of Perl modules I've written to mount AFP filesystems
via Fuse. I actually have made a few changes to the copy I run, to address
the following issues:

- On NetBSD, the Fuse package won't build out of the box against NetBSD's
ReFUSE implementation; I have a few changes that make it work (all except
extended attributes, which apparently PUFFS/ReFUSE doesn't yet handle).
- On FreeBSD and NetBSD, the version 2.6 binding profile works better, so
I've altered the code slightly to use it; it works on Linux and OS X as
well.
- On most 32-bit Linux distributions (and NetBSD/FreeBSD), Perl is not built
with 64-bit integer support, thus breaking access to large files (> 2 ** 31
- 1 bytes long). I've added a sort-of-hackish workaround for Perl builds
without $Config{'use64bitint'} to get large files handled sanely.
- Added a few extra option names that aren't included in the @validOpts list
by default.

If you're interested in my code, check out
http://svn.now.ai/listing.php?repname=afp-perl to see the repository, or
http://svn.now.ai/svn/afp-perl/ for SVN checkout access.

--
Derrik Pates
demon@now.ai

13 years agofix permissions redis
Dobrica Pavlinusic [Mon, 23 Aug 2010 17:01:34 +0000 (19:01 +0200)]
fix permissions

14 years agothere are plenty, some os specific, valid opts, so just don't bother checking for...
Artur [Wed, 19 May 2010 09:05:39 +0000 (17:05 +0800)]
there are plenty, some os specific, valid opts, so just don't bother checking for them

14 years agobump version [0.09_4] and document it rt-30790-xattr-includes 0.09_4
Dobrica Pavlinusic [Sun, 16 May 2010 16:58:34 +0000 (18:58 +0200)]
bump version [0.09_4] and document it

14 years agoMerge branch 'rt-57517-file-handles'
Dobrica Pavlinusic [Sun, 16 May 2010 16:45:31 +0000 (18:45 +0200)]
Merge branch 'rt-57517-file-handles'

14 years agoAddition of file handles on open files rt-57517-file-handles
Justin Fletcher [Sun, 16 May 2010 16:25:07 +0000 (18:25 +0200)]
Addition of file handles on open files

Sat May 15 16:36:47 2010: Request 57517 was acted upon.
Transaction: Ticket created by gerph
       Queue: Fuse
     Subject: Addition of file handles on open files
   Broken in: 0.09_3
    Severity: (no value)
       Owner: Nobody
  Requestors: gerph@gerph.org
      Status: new
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=57517 >

Hiya,

Whilst trying to write a filesystem using the Fuse module, I found it
surprising that there were no 'file handles' available when you opened
a file. The only way you can know what file was referenced is by its
name, which is not useful if your filesystem is intended to return
different results for each file opened. It turned out in my case to not
matter, but consider a FS which returned a different story every time
you opened it. Or, more practically, a FS which returned the contents
of the latest checked in file - and whilst you were operating on the
file the latest checked in file changed. There are ways around this -
files becoming invariant whilst it has any open instances of itself or
similar - but these are not ideal.

The way that Fuse appears to do this is that the filesystem updates a
property ('fh') in the fuse_file_info structure on open, to contain the
context for the opened file. I've put together a change which allows
you to return a second parameter from open containing this value, which
is then passed to all the functions which operate on open files (read,
write, flush, release). Because we're retaining a reference to the SV
that was returned (and is otherwise unused in the perl) we also
increment the refcount on open, and decrement it on release - I think
that's all that's necessary to prevent a leak, but I've never done any
XS work before this so I can't be certain.

I'd expect that under normal circumstances you'd open a file, set up a
hashref containing properties for the file that you've opened and use
'return (0, $handle);' to return it. If you don't return a handle, the
old behaviour remains - undef will be passed to the implementation in
place of the handle (which the implementation wasn't expecting so won't
care about).

In addition, I've also added the ability to set the 'direct_io',
'keepcache' and 'nonseekable' properties by changing a hashref which is
passed to the 'open' call.

The archive I've attached contains the Fuse.pm and Fuse.xs files in
their entirity, together with the diffs from 0.09_3. There is also a
rudimentary example FS, based on the example one in the Fuse
distribution, which shows the file handle to be working. It seems to be
working in my more complex MythTV filesystem that I'm still trying to
make useful.

I couldn't actually test the nonseekable property as the fuse I have
seems to be 2.4, so I don't have that property available to me here -
I've just followed what the documentation says should be available.

I've not added anything to the tests, because I'm not sure how to do
that really, but I hope that the change to add the file handles is
useful.

14 years agoremove version number
Dobrica Pavlinusic [Tue, 11 May 2010 17:33:20 +0000 (19:33 +0200)]
remove version number

14 years agoMerge branch 'master' of github.com:dpavlin/perl-fuse
Dobrica Pavlinusic [Mon, 10 May 2010 18:16:05 +0000 (20:16 +0200)]
Merge branch 'master' of github.com:dpavlin/perl-fuse

14 years agoadded META pointers to repository and bugtracker
Dobrica Pavlinusic [Mon, 10 May 2010 17:58:02 +0000 (19:58 +0200)]
added META pointers to repository and bugtracker

14 years agoadded META pointers to repository and bugracker
Dobrica Pavlinusic [Mon, 10 May 2010 17:58:02 +0000 (19:58 +0200)]
added META pointers to repository and bugracker

14 years agodocumentation fix
Vlatko Kosturjak [Mon, 10 May 2010 17:37:35 +0000 (19:37 +0200)]
documentation fix

16 years agoanother try to fix files larger than 2Gb: for this we pop 0.09_3
Dobrica Pavlinusic [Wed, 19 Mar 2008 19:40:20 +0000 (19:40 +0000)]
another try to fix files larger than 2Gb: for this we pop
float from stack since long is limited to 4Gb

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/fuse/perl-llin@123 6e4b0b00-1209-0410-87b2-b275959b5705

16 years agocpan target to push latest verison out
Dobrica Pavlinusic [Sun, 16 Mar 2008 14:14:51 +0000 (14:14 +0000)]
cpan target to push latest verison out

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/fuse/perl-llin@122 6e4b0b00-1209-0410-87b2-b275959b5705

16 years agoupdate latest Changes
Dobrica Pavlinusic [Sun, 16 Mar 2008 13:51:26 +0000 (13:51 +0000)]
update latest Changes

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/fuse/perl-llin@121 6e4b0b00-1209-0410-87b2-b275959b5705

16 years agoversion bump [0.09_2] 0.09_2
Dobrica Pavlinusic [Sun, 16 Mar 2008 13:40:44 +0000 (13:40 +0000)]
version bump [0.09_2]

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/fuse/perl-llin@120 6e4b0b00-1209-0410-87b2-b275959b5705

16 years agoexpose and fix 2Gb file bug, RT #32639, RT #33903
Dobrica Pavlinusic [Sun, 16 Mar 2008 13:34:34 +0000 (13:34 +0000)]
expose and fix 2Gb file bug, RT #32639, RT #33903

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/fuse/perl-llin@119 6e4b0b00-1209-0410-87b2-b275959b5705

16 years agofuse_get_context documentation patch from jaslong
Dobrica Pavlinusic [Mon, 21 Jan 2008 16:36:57 +0000 (16:36 +0000)]
fuse_get_context documentation patch from jaslong

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/fuse/perl-llin@118 6e4b0b00-1209-0410-87b2-b275959b5705

16 years agoupdate from Reuben Thomas: fixes a bug in mkdir (failed to tag, so newly
Dobrica Pavlinusic [Mon, 7 Jan 2008 11:45:54 +0000 (11:45 +0000)]
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).

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/fuse/perl-llin@117 6e4b0b00-1209-0410-87b2-b275959b5705

16 years agoAdded contributed filesystem described in e-mail message below:
Dobrica Pavlinusic [Thu, 6 Dec 2007 10:58:07 +0000 (10:58 +0000)]
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

16 years agoadded Chris, bump version to 0.09 0.09
Dobrica Pavlinusic [Thu, 15 Nov 2007 09:33:07 +0000 (09:33 +0000)]
added Chris, bump version to 0.09

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/fuse/perl-llin@113 6e4b0b00-1209-0410-87b2-b275959b5705

16 years agopatch from Chris Dolan via rt.cpan.org #30631
Dobrica Pavlinusic [Thu, 15 Nov 2007 09:32:08 +0000 (09:32 +0000)]
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.

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/fuse/perl-llin@112 6e4b0b00-1209-0410-87b2-b275959b5705

16 years agocalls mount instread of cat /proc/mountpoints to make it less Linux specific
Dobrica Pavlinusic [Thu, 15 Nov 2007 09:23:22 +0000 (09:23 +0000)]
calls mount instread of cat /proc/mountpoints to make it less Linux specific

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/fuse/perl-llin@111 6e4b0b00-1209-0410-87b2-b275959b5705

17 years agoone more define (_FILE_OFFSET_BITS=64) on darwin
Dobrica Pavlinusic [Sat, 20 Jan 2007 20:27:57 +0000 (20:27 +0000)]
one more define (_FILE_OFFSET_BITS=64) on darwin

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/fuse/perl-llin@110 6e4b0b00-1209-0410-87b2-b275959b5705

17 years agosupport for MacFUSE implementation for Mac OS X from http://code.google.com/p/macfuse/
Dobrica Pavlinusic [Sat, 20 Jan 2007 12:37:03 +0000 (12:37 +0000)]
support for MacFUSE implementation for Mac OS X from code.google.com/p/macfuse/

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/fuse/perl-llin@109 6e4b0b00-1209-0410-87b2-b275959b5705

17 years agoChanges from Marc to implement fuse_get_context(): 0.09_1
Dobrica Pavlinusic [Sat, 20 Jan 2007 12:21:12 +0000 (12:21 +0000)]
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.

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/fuse/perl-llin@108 6e4b0b00-1209-0410-87b2-b275959b5705

17 years agofixes for Andrew for dh-make-perl which uses fakeroot
Dobrica Pavlinusic [Sun, 3 Dec 2006 11:25:02 +0000 (11:25 +0000)]
fixes for Andrew for dh-make-perl which uses fakeroot

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/fuse/perl-llin@107 6e4b0b00-1209-0410-87b2-b275959b5705

17 years agobump version to 0.08, added Changes for this version 0.08
Dobrica Pavlinusic [Wed, 29 Nov 2006 13:27:59 +0000 (13:27 +0000)]
bump version to 0.08, added Changes for this version

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/fuse/perl-llin@106 6e4b0b00-1209-0410-87b2-b275959b5705

17 years agofix to test helper as proposed by ANDREWC@cpan.org (rt.cpan.org #17695)
Dobrica Pavlinusic [Wed, 29 Nov 2006 13:23:28 +0000 (13:23 +0000)]
fix to test helper as proposed by ANDREWC@cpan.org (rt.cpan.org #17695)

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/fuse/perl-llin@105 6e4b0b00-1209-0410-87b2-b275959b5705

17 years agowarn about required permissions also
Dobrica Pavlinusic [Thu, 9 Nov 2006 16:07:18 +0000 (16:07 +0000)]
warn about required permissions also

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/fuse/perl-llin@104 6e4b0b00-1209-0410-87b2-b275959b5705

17 years agomake CPANPLUS happy and don't report errors if fuse isn't installed
Dobrica Pavlinusic [Thu, 19 Oct 2006 15:52:42 +0000 (15:52 +0000)]
make CPANPLUS happy and don't report errors if fuse isn't installed

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/fuse/perl-llin@103 6e4b0b00-1209-0410-87b2-b275959b5705

17 years agofix path to local svn
Dobrica Pavlinusic [Tue, 29 Aug 2006 15:26:57 +0000 (15:26 +0000)]
fix path to local svn

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/fuse/perl-llin@102 6e4b0b00-1209-0410-87b2-b275959b5705

17 years agopatch from Mark Glines to allow Fuse to be run from a non-master thread
Dobrica Pavlinusic [Tue, 22 Aug 2006 11:37:12 +0000 (11:37 +0000)]
patch from Mark Glines to allow Fuse to be run from a non-master thread

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/fuse/perl-llin@101 6e4b0b00-1209-0410-87b2-b275959b5705

17 years agochanges from Nick Waterman <laptop@noseynick.com> to fix race condition in
Dobrica Pavlinusic [Sun, 30 Jul 2006 17:33:14 +0000 (17:33 +0000)]
changes from Nick Waterman <laptop@noseynick.com> to fix race condition in
test/s/mount.t

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/fuse/perl-llin@100 6e4b0b00-1209-0410-87b2-b275959b5705

17 years agoCPAN release 0.07 0.07
Dobrica Pavlinusic [Tue, 6 Jun 2006 14:23:44 +0000 (14:23 +0000)]
CPAN release 0.07

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/fuse/perl-llin@95 6e4b0b00-1209-0410-87b2-b275959b5705

17 years agouse mount_fusefs on FreeBSD to get fuse version
Dobrica Pavlinusic [Tue, 6 Jun 2006 14:22:36 +0000 (14:22 +0000)]
use mount_fusefs on FreeBSD to get fuse version

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/fuse/perl-llin@94 6e4b0b00-1209-0410-87b2-b275959b5705

17 years agoFix ISO C90 warnings
Dobrica Pavlinusic [Mon, 29 May 2006 09:15:28 +0000 (09:15 +0000)]
Fix ISO C90 warnings

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/fuse/perl-llin@93 6e4b0b00-1209-0410-87b2-b275959b5705

17 years agoMark Glines fixed problem with newer fuse versions
Dobrica Pavlinusic [Mon, 29 May 2006 08:57:50 +0000 (08:57 +0000)]
Mark Glines fixed problem with newer fuse versions

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/fuse/perl-llin@92 6e4b0b00-1209-0410-87b2-b275959b5705

17 years agobump version 0.07_4
Dobrica Pavlinusic [Tue, 23 May 2006 15:38:12 +0000 (15:38 +0000)]
bump version

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/fuse/perl-llin@91 6e4b0b00-1209-0410-87b2-b275959b5705

17 years agoadded nonempty as suggested by David Danier <david.danier@team23.de>
Dobrica Pavlinusic [Tue, 23 May 2006 14:48:59 +0000 (14:48 +0000)]
added nonempty as suggested by David Danier <david.danier@team23.de>

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/fuse/perl-llin@90 6e4b0b00-1209-0410-87b2-b275959b5705

17 years agoVladimir V. Kolpakov contributed cleanup patch
Dobrica Pavlinusic [Tue, 23 May 2006 14:45:53 +0000 (14:45 +0000)]
Vladimir V. Kolpakov contributed cleanup patch

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/fuse/perl-llin@89 6e4b0b00-1209-0410-87b2-b275959b5705

17 years agowhitespace fixes
Dobrica Pavlinusic [Tue, 23 May 2006 14:45:23 +0000 (14:45 +0000)]
whitespace fixes

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/fuse/perl-llin@88 6e4b0b00-1209-0410-87b2-b275959b5705

17 years agofix parametars is there is no debug option
Dobrica Pavlinusic [Tue, 23 May 2006 14:28:34 +0000 (14:28 +0000)]
fix parametars is there is no debug option

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/fuse/perl-llin@87 6e4b0b00-1209-0410-87b2-b275959b5705

17 years agorequire at least fuse 2.5
Dobrica Pavlinusic [Tue, 23 May 2006 11:15:22 +0000 (11:15 +0000)]
require at least fuse 2.5

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/fuse/perl-llin@86 6e4b0b00-1209-0410-87b2-b275959b5705

18 years agoupdate to API 25 changes by Csaba Henk <csaba.henk@creo.hu>
Dobrica Pavlinusic [Tue, 17 Jan 2006 17:00:12 +0000 (17:00 +0000)]
update to API 25 changes by Csaba Henk <csaba.henk@creo.hu>

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/fuse/perl-llin@85 6e4b0b00-1209-0410-87b2-b275959b5705

18 years ago r72@llin (orig r72): dpavlin | 2006-01-03 16:43:12 +0100
Dobrica Pavlinusic [Tue, 3 Jan 2006 17:51:37 +0000 (17:51 +0000)]
 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

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/fuse/perl-llin@83 6e4b0b00-1209-0410-87b2-b275959b5705

18 years agoremove DEBUGf
Dobrica Pavlinusic [Tue, 3 Jan 2006 17:27:32 +0000 (17:27 +0000)]
remove DEBUGf

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/fuse/perl-llin@71 6e4b0b00-1209-0410-87b2-b275959b5705

18 years agoupdate to 0.07_3 0.07_3
Dobrica Pavlinusic [Tue, 3 Jan 2006 16:42:44 +0000 (16:42 +0000)]
update to 0.07_3

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/fuse/perl-llin@70 6e4b0b00-1209-0410-87b2-b275959b5705

18 years ago0.07_3 which works on FreeBSD (tests are still broken)
Dobrica Pavlinusic [Tue, 3 Jan 2006 16:42:06 +0000 (16:42 +0000)]
0.07_3 which works on FreeBSD (tests are still broken)

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/fuse/perl-llin@69 6e4b0b00-1209-0410-87b2-b275959b5705

18 years agoadded __FreeBSD__ compilation fixes
Dobrica Pavlinusic [Tue, 3 Jan 2006 16:21:13 +0000 (16:21 +0000)]
added __FreeBSD__ compilation fixes

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/fuse/perl-llin@68 6e4b0b00-1209-0410-87b2-b275959b5705

18 years agouse Fuse from just compiled blib (again...)
Dobrica Pavlinusic [Tue, 3 Jan 2006 16:20:50 +0000 (16:20 +0000)]
use Fuse from just compiled blib (again...)

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/fuse/perl-llin@67 6e4b0b00-1209-0410-87b2-b275959b5705

18 years ago r61@llin (orig r61): dpavlin | 2006-01-02 23:58:53 +0100
Dobrica Pavlinusic [Tue, 3 Jan 2006 15:45:18 +0000 (15:45 +0000)]
 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

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/fuse/perl-llin@66 6e4b0b00-1209-0410-87b2-b275959b5705

18 years agoadded -D_FILE_OFFSET_BITS=64 need for FreeBSD compilation
Dobrica Pavlinusic [Tue, 3 Jan 2006 15:42:57 +0000 (15:42 +0000)]
added -D_FILE_OFFSET_BITS=64 need for FreeBSD compilation

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/fuse/perl-llin@60 6e4b0b00-1209-0410-87b2-b275959b5705

18 years agotarget sf to update SourceForge CVS repository of FUSE
Dobrica Pavlinusic [Mon, 2 Jan 2006 23:58:33 +0000 (23:58 +0000)]
target sf to update SourceForge CVS repository of FUSE

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/fuse/perl-llin@59 6e4b0b00-1209-0410-87b2-b275959b5705

18 years ago r34@llin (orig r34): dpavlin | 2006-01-02 23:49:24 +0100
Dobrica Pavlinusic [Mon, 2 Jan 2006 23:56:47 +0000 (23:56 +0000)]
 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

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/fuse/perl-llin@58 6e4b0b00-1209-0410-87b2-b275959b5705

18 years agoadded example
Dobrica Pavlinusic [Mon, 2 Jan 2006 23:43:38 +0000 (23:43 +0000)]
added example

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/fuse/perl-llin@32 6e4b0b00-1209-0410-87b2-b275959b5705

18 years agofallback to defaults if pkg-config is not found
Dobrica Pavlinusic [Mon, 2 Jan 2006 23:40:24 +0000 (23:40 +0000)]
fallback to defaults if pkg-config is not found

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/fuse/perl-llin@31 6e4b0b00-1209-0410-87b2-b275959b5705

18 years agoadded example filesystem which uses Filesys::Statvfs to implement statfs
Dobrica Pavlinusic [Mon, 2 Jan 2006 23:19:28 +0000 (23:19 +0000)]
added example filesystem which uses Filesys::Statvfs to implement statfs

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/fuse/perl-llin@30 6e4b0b00-1209-0410-87b2-b275959b5705

18 years agouse pkg-config
Dobrica Pavlinusic [Mon, 2 Jan 2006 23:07:14 +0000 (23:07 +0000)]
use pkg-config

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/fuse/perl-llin@29 6e4b0b00-1209-0410-87b2-b275959b5705

18 years agofix 6 and 7 parametar handling
Dobrica Pavlinusic [Mon, 2 Jan 2006 22:39:32 +0000 (22:39 +0000)]
fix 6 and 7 parametar handling

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/fuse/perl-llin@28 6e4b0b00-1209-0410-87b2-b275959b5705

18 years agoconvert output to diag, zero buffer (I hope)
Dobrica Pavlinusic [Mon, 2 Jan 2006 22:38:50 +0000 (22:38 +0000)]
convert output to diag, zero buffer (I hope)

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/fuse/perl-llin@27 6e4b0b00-1209-0410-87b2-b275959b5705

18 years agopartial fix for statfs (namelen is still broken) [0.07_2] 0.07_2
Dobrica Pavlinusic [Mon, 2 Jan 2006 22:24:03 +0000 (22:24 +0000)]
partial fix for statfs (namelen is still broken) [0.07_2]

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/fuse/perl-llin@26 6e4b0b00-1209-0410-87b2-b275959b5705

18 years agouse version just built
Dobrica Pavlinusic [Mon, 2 Jan 2006 22:04:31 +0000 (22:04 +0000)]
use version just built

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/fuse/perl-llin@25 6e4b0b00-1209-0410-87b2-b275959b5705

18 years ago0.07_1 0.07_1
Dobrica Pavlinusic [Mon, 2 Jan 2006 21:03:43 +0000 (21:03 +0000)]
0.07_1

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/fuse/perl-llin@24 6e4b0b00-1209-0410-87b2-b275959b5705

18 years agoadded blib, create /tmp/fusetest-$ENV{LOGNAME} (from directory for loopback) if it...
Dobrica Pavlinusic [Mon, 2 Jan 2006 20:31:19 +0000 (20:31 +0000)]
added blib, create /tmp/fusetest-$ENV{LOGNAME} (from directory for loopback) if it doesn't
exist. mounted directory will be empty when mounted.

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/fuse/perl-llin@23 6e4b0b00-1209-0410-87b2-b275959b5705

18 years agodiag output
Dobrica Pavlinusic [Mon, 2 Jan 2006 20:29:57 +0000 (20:29 +0000)]
diag output

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/fuse/perl-llin@22 6e4b0b00-1209-0410-87b2-b275959b5705

18 years agoworking copy
Dobrica Pavlinusic [Mon, 2 Jan 2006 19:50:33 +0000 (19:50 +0000)]
working copy

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/fuse/perl-llin@21 6e4b0b00-1209-0410-87b2-b275959b5705

18 years agoadded missing example, 0.07_1
Dobrica Pavlinusic [Tue, 27 Dec 2005 14:49:31 +0000 (14:49 +0000)]
added missing example, 0.07_1

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/fuse/perl/trunk@20 6e4b0b00-1209-0410-87b2-b275959b5705

18 years agoChanges from Mark Glines in preparation for 0.07
Dobrica Pavlinusic [Tue, 27 Dec 2005 12:47:00 +0000 (12:47 +0000)]
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.

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/fuse/perl/trunk@19 6e4b0b00-1209-0410-87b2-b275959b5705

18 years agoMark Glines changes to add ithreads support:
Dobrica Pavlinusic [Wed, 21 Dec 2005 15:33:37 +0000 (15:33 +0000)]
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

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/fuse/perl/trunk@18 6e4b0b00-1209-0410-87b2-b275959b5705

18 years agoupdated for release 0.06 0.06
Dobrica Pavlinusic [Wed, 22 Jun 2005 16:20:33 +0000 (16:20 +0000)]
updated for release 0.06

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/fuse/perl/trunk@17 6e4b0b00-1209-0410-87b2-b275959b5705

18 years agoadded changes from Mark Wilkinson to support mount options, list all
Dobrica Pavlinusic [Wed, 22 Jun 2005 16:15:17 +0000 (16:15 +0000)]
added changes from Mark Wilkinson to support mount options, list all
contributors in AUTHORS, added pod tests

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/fuse/perl/trunk@16 6e4b0b00-1209-0410-87b2-b275959b5705

18 years agoupdated README file
Dobrica Pavlinusic [Wed, 22 Jun 2005 15:22:02 +0000 (15:22 +0000)]
updated README file

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/fuse/perl/trunk@15 6e4b0b00-1209-0410-87b2-b275959b5705

19 years agoAdd support for operations supported by FUSE 2.2.1 (flush, release, fsync, extended...
Richard Dawe [Sun, 10 Apr 2005 13:30:11 +0000 (13:30 +0000)]
Add support for operations supported by FUSE 2.2.1 (flush, release, fsync, extended attributes); bump version to 0.06.

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/fuse/perl/trunk@14 6e4b0b00-1209-0410-87b2-b275959b5705

19 years agoadded missing META.yml, include tests and examples in distribution
Dobrica Pavlinusic [Tue, 22 Mar 2005 10:21:12 +0000 (10:21 +0000)]
added missing META.yml, include tests and examples in distribution

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/fuse/perl/trunk@13 6e4b0b00-1209-0410-87b2-b275959b5705

19 years agobump version 0.05
Dobrica Pavlinusic [Sun, 20 Mar 2005 00:41:27 +0000 (00:41 +0000)]
bump version

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/fuse/perl/trunk@12 6e4b0b00-1209-0410-87b2-b275959b5705

19 years agoRichard Dawe <rich(at)phekda(dot)gotadsl(dot)co(dot)uk>
Dobrica Pavlinusic [Sun, 20 Mar 2005 00:37:31 +0000 (00:37 +0000)]
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.

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/fuse/perl/trunk@11 6e4b0b00-1209-0410-87b2-b275959b5705

19 years agoFrom: Richard Dawe <rich(at)phekda(dot)gotadsl(dot)co(dot)uk>
Dobrica Pavlinusic [Sun, 20 Mar 2005 00:36:05 +0000 (00:36 +0000)]
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.

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/fuse/perl/trunk@10 6e4b0b00-1209-0410-87b2-b275959b5705

19 years agocompilation fix
Dobrica Pavlinusic [Fri, 7 Jan 2005 23:38:41 +0000 (23:38 +0000)]
compilation fix

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/fuse/perl/trunk@9 6e4b0b00-1209-0410-87b2-b275959b5705

19 years agoIt seems that blockcount isn't last argument any longer. Fixed.
Dobrica Pavlinusic [Fri, 26 Nov 2004 20:38:56 +0000 (20:38 +0000)]
It seems that blockcount isn't last argument any longer. Fixed.

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/fuse/perl/trunk@8 6e4b0b00-1209-0410-87b2-b275959b5705

19 years agofix compilation problems 0.04
Dobrica Pavlinusic [Thu, 18 Nov 2004 12:09:10 +0000 (12:09 +0000)]
fix compilation problems

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/fuse/perl/trunk@7 6e4b0b00-1209-0410-87b2-b275959b5705

19 years agoInitial revision
Miklos Szeredi [Thu, 11 Nov 2004 14:44:15 +0000 (14:44 +0000)]
Initial revision

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/fuse/perl/trunk@4 6e4b0b00-1209-0410-87b2-b275959b5705

18 years ago[vcp] select <> as trunk
Dobrica Pavlinusic [Thu, 29 Dec 2005 16:19:29 +0000 (16:19 +0000)]
[vcp] select <> as trunk

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/fuse/perl/trunk@3 6e4b0b00-1209-0410-87b2-b275959b5705

18 years agoVCP: initializing layout
nobody [Thu, 29 Dec 2005 16:19:23 +0000 (16:19 +0000)]
VCP: initializing layout

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/fuse/perl/trunk@2 6e4b0b00-1209-0410-87b2-b275959b5705