Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • I saw in your CPAN review that it was difficult to figure out the minimum number of functions required to be implemented by a perl FUSE filesystem - did you find this documented anywhere (or document it yourself)?
    • No, I just kept implementing methods until I was satisfied with the behavior. :-)

      Seriously, though, statfs and getattr are probably the bare minimum, followed by mknod getdir open and read.

      Take a peek at Test::Virtual::Filesystem which can help to validate your FUSE implementation.
      • Oh, fantastic, I didn't even see the test suite when I was looking last night. Your methodology is admirable.

        I'm going to take a stab at an 'md5uniqfs', which stores one copy of a given file per filesytem, hardlinking duplicates. Should be useful for backups.

        Having a good test should really help. Thanks!