dpuu has asked for the wisdom of the Perl Monks concerning the following question:

Hi,

I was wanting to write myself a simple filesystem (I'd like to mount some data as a *nix filesystem). Google pretty quickly turned up PerlFS, but that requires root access and a linux box. I was wondering if anyone had seea a similar concept, but for something more portable like NFS.

Thx, --Dave.

Replies are listed 'Best First'.
Re: NFS Server in Perl
by samtregar (Abbot) on May 10, 2003 at 05:10 UTC
    If you want to write a filesystem, why not do it in C? Perl is not a very good language for system programming.

    -sam

      Who said anything about systems programming? OK thats traditionally the domain in which a filesystem falls, but thats the client, not the server. Remember, NFS is designed to work over a network -- I once even mounted NFS over a dialup link -- so performance is not an issue (or at least, not until its proven to be one). This is discussed in the PerlFS documentation that I linked to in my original post. If I can write a web server in Perl, why not an NFS server? Surely its just a different protocol for essentially the same thing. --Dave