[9fans] pipefs or cmdfs - Plan9

This is a discussion on [9fans] pipefs or cmdfs - Plan9 ; Hello all, Does anyone already has a program something like pipefs (or cmdfs) ? That is a service program by host owner to his users. The command syntax will be pipefs [-s name] command which creates /srv/name (default /srv/pipefs) Users ...

+ Reply to Thread
Results 1 to 4 of 4

Thread: [9fans] pipefs or cmdfs

  1. [9fans] pipefs or cmdfs

    Hello all,

    Does anyone already has a program something like pipefs (or cmdfs) ?
    That is a service program by host owner to his users.
    The command syntax will be
    pipefs [-s name] command
    which creates /srv/name (default /srv/pipefs)

    Users can mount and execute the command
    mount /srv/pipefs /n/pipefs
    echo 'blah blah' >/n/pipefs/data
    giving 'blah blah' to the command.

    Kenji Arisawa


  2. Re: [9fans] pipefs or cmdfs

    execnet(4) seems close to what you want, but not quite right - it
    provides arbitrary command access, rather than a single command (which
    could make sharing it awkward).

    i think closer to what you want is' geoff's cmdfs (in his contrib
    dir). it's only advertised to run on third edition, but if it doesn't
    run on current it could be a good starting point. the comment at the
    head matches what you want pretty well:

    /*
    * cmdfs mntpt cmd - mount this file server, writes into which become
    * writes to a pipe to cmd. a new cmd is started for each open
    * of mntpt/pipe, but only one is permitted at a time.
    */

  3. Re: [9fans] pipefs or cmdfs

    mfs (in contrib, nemo, planb, sys, src, cmd) is similar to this, and
    works for 4th ed.

    hth

    On 4/21/07, Anthony Sorace wrote:
    > execnet(4) seems close to what you want, but not quite right - it
    > provides arbitrary command access, rather than a single command (which
    > could make sharing it awkward).
    >
    > i think closer to what you want is' geoff's cmdfs (in his contrib
    > dir). it's only advertised to run on third edition, but if it doesn't
    > run on current it could be a good starting point. the comment at the
    > head matches what you want pretty well:
    >
    > /*
    > * cmdfs mntpt cmd - mount this file server, writes into which become
    > * writes to a pipe to cmd. a new cmd is started for each open
    > * of mntpt/pipe, but only one is permitted at a time.
    > */
    >
    >


  4. Re: [9fans] pipefs or cmdfs

    Hello Anthony and Francisco,
    I will try.

    Thanks.

    Kenji Arisawa


+ Reply to Thread