Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re: FIFO directory?

by jeroenes (Priest)
on Jun 18, 2001 at 15:26 UTC ( #89265=note: print w/replies, xml ) Need Help??

in reply to FIFO directory?

  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
  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.
"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

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://89265]
[Eily]: choroba but does $name = $1 solve the issue ?
[Eily]: if so, most subs start with my (VARIABLES) = @_ anyway
[moritz]: for short subs, I sometimes let them work on $_[0] directly
[Eily]: moritz but that should be fine unless you modify them

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (7)
As of 2018-02-22 17:24 GMT
Find Nodes?
    Voting Booth?
    When it is dark outside I am happiest to see ...

    Results (296 votes). Check out past polls.