Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: could be directory "virtualized" from perl, like PerlIO but for directories?

by snoopy (Deacon)
on Feb 07, 2011 at 05:00 UTC ( #886599=note: print w/replies, xml ) Need Help??


in reply to could be directory "virtualized" from perl, like PerlIO but for directories?

On the heavy side, Fuse::Simple lets you map a file system to Perl hashes.

FUSE is implemented at the OS level rather than being Perl specific. it doesn't require root access, but does need a server process (or at least a thread).

The files are really mounted and are visible to Perl and other processes. It's a deeper abstraction which may or may not be what you want.

As a final catch, the underlaying Fuse module claims to only work well under Linux or BSD. FUSE however is widely available on other platforms, including Windows.

I just thought it might be of interest. See also the wikipedia entry Filesystem_in_Userspace.

  • Comment on Re: could be directory "virtualized" from perl, like PerlIO but for directories?

Replies are listed 'Best First'.
Re^2: could be directory "virtualized" from perl, like PerlIO but for directories?
by vkon (Curate) on Feb 07, 2011 at 08:05 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://886599]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (2)
As of 2016-12-10 14:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (163 votes). Check out past polls.