http://www.perlmonks.org?node_id=89265


in reply to FIFO directory?

Comments:
  1. This is really off-topic
  2. I don't see how your question relates to a First In First Out queue.
  3. You actually want to hack the filesystem. Luckily for you, there is a beautiful filesystem with source code handy, ext2fs. Brought to you by the Linux Corporation. Just ask about it at cmonks.org
  4. I'm sure you can get similar functionality with some perl script, but than you have to drop the demand that the output is visible through any filesystem access. If you won't mind that, please describe your problem in more detial.
Jeroen
"We are not alone"(FZ)

Update: Maybe it is possible, but you don't tell us what kind of data you want to provide. For example, it's simple to replace 'ls' by a perlscript that gathers some data about a file, and displays that besides the filesystem data.

Replies are listed 'Best First'.
Re: Re: FIFO directory?
by frag (Hermit) on Jun 18, 2001 at 19:07 UTC
    In addition to ext2fs, there's the Perl Filesystem. I don't purport to understand it myself, but there it is.

    -- Frag.

Re: Re: FIFO directory?
by lindex (Friar) on Jun 18, 2001 at 15:31 UTC

    I think maybe your missing what I'am trying to get at. This is more of an "Is it possible" question than anything else. A Virtual Filesystem is one way of explaining it. I just would like to provide directory data dynamicly with perl.
    But then agian it may not be possible with out going through the rigors of writing a kernel module which is way out side the scope of the question, if this where so then the answer would be a simple "No, you can't do that in perl".


    Brought to you by that crazy but lovable guy... lindex