Lufs::Stub - A hello-world filesystem for use with perlufs
This is an example, demonstrating the API. Unless stated otherwise, methods are expected to return 1 for succes, and 0 for failure.
CONFIG is a hashref with configuration data, from both lufsd.conf and the -o switch.
This gets called whenever the filesystem is mounted.
This gets called whenever the filesystem is umounted.
STAT is a hash reference. you should fill in the approriate values.
LIST is an array ref that you should fill. You do not need to push `.' and `..', this will be done for you.
MODE is the access mode for the dir that you are creating
Assign the data to the last argument, return the number of bytes read.
Return the number of bytes written.
This should return a string: the filename that the link points at.
Raoul Zwart, <email@example.com>
Copyright 2003 by Raoul Zwart
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.