NAME

Fuse::Filesys::Virtual - mount Perl module written using Filesys::Virtual

VERSION

Version 0.02

SYNOPSIS

use Fuse::Filesys::Virtual;

my $fs = Filesys::Virtual::Foo->new();
my $fuse = Fuse::Filesys::Virtual->new($fs, { debug => 1});

$fuse->main(mountpoint => '/mnt', mountopts => "allow_other");

EXPORT

Nothing.

FUNCTIONS

new (FS, ATTR_HASH_REF)

Constructor. Takes FS and ATTR_HASH_REF as a parameter.

FS - An instance of Virtual::Filesys
ATTR_HASH_REF - reference to attribute hash.

Following key-value is recognized.

debug : true or false

getattr

Same as Fuse.

Always returns -EPERM. This function is not supported by Virtual::Filesys.

getdir

Same as Fuse.

mknod

Same as Fuse.

mkdir

Same as Fuse.

Same as Fuse.

rmdir

Same as Fuse.

Always returns -EPERM. This function is not supported by Virtual::Filesys.

rename

Same as Fuse. But his function is implemented by Copy & Delete.

Always returns -EPERM. This function is not supported by Virtual::Filesys.

chmod

Always returns 0(success), but nothing is done. This function is not supported by Virtual::Filesys.

chown

Always returns -EPERM. This function is not supported by Virtual::Filesys.

truncate

Always returns -EPERM. This function is not supported by Virtual::Filesys.

utime

Same as Fuse.

open

Same as Fuse.

read

Same as Fuse.

write

Same as Fuse.

flush

Always returns 0(no error). This function is not supported by Virtual::Filesys.

release

Same as Fuse.

fsync

Always returns 0(no error). This function is not supported by Virtual::Filesys.

AUTHOR

Toshimitsu FUJIWARA, <tttfjw at gmail.com>

BUGS

Threading is not supported.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc Fuse::Filesys::Virtual

ACKNOWLEDGEMENTS

COPYRIGHT & LICENSE

Copyright 2008 Toshimitsu FUJIWARA, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.