diff options
author | Mark Glines <mark@glines.org> | 2002-01-07 16:32:02 +0000 |
---|---|---|
committer | Mark Glines <mark@glines.org> | 2002-01-07 16:32:02 +0000 |
commit | d84b39ac42882a2cc2e7f85ed5f02ada03744d9e (patch) | |
tree | 2af8738e204bdd4f3057fbaf0946ab56447068ff /perl/example.pl | |
parent | 6ebe234cc8160d7540add80a75cc7772e08236f5 (diff) | |
download | libfuse-d84b39ac42882a2cc2e7f85ed5f02ada03744d9e.tar.gz |
Added statfs support to kernel, lib, examples, and perl
other minor perl fixes (still unstable)
Diffstat (limited to 'perl/example.pl')
-rwxr-xr-x | perl/example.pl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/perl/example.pl b/perl/example.pl index bc62cad..d01278c 100755 --- a/perl/example.pl +++ b/perl/example.pl @@ -70,6 +70,8 @@ sub e_read { return substr($files{$file}{cont},$off,$buf); } +sub e_statfs { return 255, 1, 1, 1, 1, 2 } + # If you run the script directly, it will run fusermount, which will in turn # re-run this script. Hence the funky semantics. my ($mountpoint) = ""; @@ -79,6 +81,7 @@ Fuse::main( getattr=>\&e_getattr, getdir=>\&e_getdir, open=>\&e_open, + statfs=>\&e_statfs, #read=>\&e_read, #debug=>1, threaded=>0 ); |