diff options
author | Mark Glines <mark@glines.org> | 2002-03-11 12:07:47 +0000 |
---|---|---|
committer | Mark Glines <mark@glines.org> | 2002-03-11 12:07:47 +0000 |
commit | 3e3d081d28ff60331d791ae9bc4e1f8d98701d86 (patch) | |
tree | a7866a05c02613e32e790d9348781751af4e0538 /perl/loopback.pl | |
parent | 081f3c28b8105af8c4e49b44ed1f2ba6729fe2d7 (diff) | |
download | libfuse-3e3d081d28ff60331d791ae9bc4e1f8d98701d86.tar.gz |
no longer link against efence
add documentation for Fuse::main() and the optional flags (and mountpoint)
fix the multithreading/debug flag stuff
turn off multithreading by default (makes read() stable!)
Diffstat (limited to 'perl/loopback.pl')
-rw-r--r-- | perl/loopback.pl | 26 |
1 files changed, 22 insertions, 4 deletions
diff --git a/perl/loopback.pl b/perl/loopback.pl index 4a531e2..c055db5 100644 --- a/perl/loopback.pl +++ b/perl/loopback.pl @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/debugperl use strict; use Fuse; @@ -104,7 +104,25 @@ sub x_mknod { my ($mountpoint) = ""; $mountpoint = shift(@ARGV) if @ARGV; -Fuse::main(mountpoint=>$mountpoint, getattr=>\&x_getattr, readlink=>\&x_readlink, getdir=>\&x_getdir, mknod=>\&x_mknod, - mkdir=>\&x_mkdir, unlink=>\&x_unlink, rmdir=>\&x_rmdir, symlink=>\&x_symlink, rename=>\&x_rename, link=>\&x_link, - chmod=>\&x_chmod, chown=>\&x_chown, truncate=>\&x_truncate, utime=>\&x_utime, open=>\&x_open, read=>\&x_read, write=>\&x_write +Fuse::main( + unthreaded=>1, + debug=>1, + mountpoint=>$mountpoint, + getattr=>\&x_getattr, + readlink=>\&x_readlink, + getdir=>\&x_getdir, + mknod=>\&x_mknod, + mkdir=>\&x_mkdir, + unlink=>\&x_unlink, + rmdir=>\&x_rmdir, + symlink=>\&x_symlink, + rename=>\&x_rename, + link=>\&x_link, + chmod=>\&x_chmod, + chown=>\&x_chown, + truncate=>\&x_truncate, + utime=>\&x_utime, + open=>\&x_open, + read=>\&x_read, + write=>\&x_write ); |