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


Fuse-Filesys-Virtual documentation  | view source Contained in the Fuse-Filesys-Virtual distribution.

Index


NAME

Top

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

VERSION

Top

Version 0.02

SYNOPSIS

Top

    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

Top

Nothing.

FUNCTIONS

Top

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.

getdir

Same as Fuse.

mknod

Same as Fuse.

mkdir

Same as Fuse.

rmdir

Same as Fuse.

rename

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

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

Top

Toshimitsu FUJIWARA, <tttfjw at gmail.com>

BUGS

Top

Threading is not supported.

SUPPORT

Top

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

    perldoc Fuse::Filesys::Virtual

ACKNOWLEDGEMENTS

Top

COPYRIGHT & LICENSE

Top


Fuse-Filesys-Virtual documentation  | view source Contained in the Fuse-Filesys-Virtual distribution.