9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] pipefs or cmdfs
@ 2007-04-21 10:59 arisawa
  2007-04-21 11:54 ` Anthony Sorace
  0 siblings, 1 reply; 4+ messages in thread
From: arisawa @ 2007-04-21 10:59 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

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



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9fans] pipefs or cmdfs
  2007-04-21 10:59 [9fans] pipefs or cmdfs arisawa
@ 2007-04-21 11:54 ` Anthony Sorace
  2007-04-21 17:09   ` Francisco J Ballesteros
  0 siblings, 1 reply; 4+ messages in thread
From: Anthony Sorace @ 2007-04-21 11:54 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

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.
 */


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9fans] pipefs or cmdfs
  2007-04-21 11:54 ` Anthony Sorace
@ 2007-04-21 17:09   ` Francisco J Ballesteros
  2007-04-21 21:19     ` arisawa
  0 siblings, 1 reply; 4+ messages in thread
From: Francisco J Ballesteros @ 2007-04-21 17:09 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

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

hth

On 4/21/07, Anthony Sorace <anothy@gmail.com> 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.
>  */
>
>


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9fans] pipefs or cmdfs
  2007-04-21 17:09   ` Francisco J Ballesteros
@ 2007-04-21 21:19     ` arisawa
  0 siblings, 0 replies; 4+ messages in thread
From: arisawa @ 2007-04-21 21:19 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Hello Anthony and Francisco,
I will try.

Thanks.

Kenji Arisawa



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-04-21 21:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-21 10:59 [9fans] pipefs or cmdfs arisawa
2007-04-21 11:54 ` Anthony Sorace
2007-04-21 17:09   ` Francisco J Ballesteros
2007-04-21 21:19     ` arisawa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).