Mike Schroeder > Muck-0.02 > Muck::FS

Download:
Muck-0.02.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

Muck::FS - A FUSE filesystem using MySQL for metadata and S3 for data store

SYNOPSIS ^

  use Muck::FS;
  my $fuse_self = Muck::FS->mount( \%params );

DESCRIPTION ^

TBD

METHODS ^

mount

Mount muckFS and connect to MySQL, memcached and S3

More usage and examples to be written.

is_mounted

Check if fuse filesystem is mounted

  if ($mnt->is_mounted) { ... }

umount

Unmount your database as filesystem.

  $mnt->umount;

This will also kill background process which is translating database to filesystem.

fuse_module_loaded

Checks if fuse module is loaded in kernel.

  die "no fuse module loaded in kernel"
   unless (Fuse::DBI::fuse_module_loaded);

This function in called by mount, but might be useful alone also.

EXPORT ^

Nothing.

BUGS ^

Probably.

SEE ALSO ^

FUSE (Filesystem in USErspace) website http://fuse.sourceforge.net/

This code borrows heavily from the Fuse::DBI module on CPAN.

AUTHOR ^

Mike Schroeder, <mike-cpan@donorware.com>

COPYRIGHT AND LICENSE ^

Copyright (C) 2007 by DonorWare LLC

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.4 or, at your option, any later version of Perl 5 you may have available.

syntax highlighting: