9srvfs man page on Inferno

Man page or keyword search:  
man Server   579 pages
apropos Keyword Search (all sections)
Output format
Inferno logo
[printable version]

9SRVFS(4)							     9SRVFS(4)

NAME
       9srvfs - add Inferno service to Plan 9 service registry

SYNOPSIS
       9srvfs [ -p perm ] srvname source

DESCRIPTION
       9srvfs  is  only usable (or indeed of interest) on Inferno hosted under
       Plan 9.	It uses srv9(3) to make an Inferno service source available to
       Plan  9	applications  via  the Plan 9 service registry.	 Srv9 (3) must
       previously have been bound to /srv in the current name space,  with  -c
       to allow file creation (see bind(1)).

       Source  may  be either a command or the name of a directory.  If source
       is surrounded by braces ({ and }), it is invoked as  a  sh(1)  command,
       and  its	 standard input (sic) is posted as Plan 9 service /srv/srvname
       with permissions perm (default: mode 600).  Otherwise, source is	 taken
       to be a directory that is the root of a name space to export to Plan 9,
       an exporting file service is started  (see  sys-export(2)),  and	 again
       posted  as  Plan 9 service /srv/srvname, and the export terminates when
       the Plan 9 service file has been removed and the last mounted  instance
       goes away in Plan 9.

EXAMPLE
       Make  the  current  Inferno  environment	 variables available to Plan 9
       applications:

	      bind -c '#₪' /srv	  # if not already done
	      9srvfs infenv /env

       The name space can then be mounted in Plan 9, allowing variables to  be
       read and written in that Inferno environment:

	      mount -c /srv/infenv /n/ftp
	      ls /n/ftp
	      cat /n/ftp/emuargs
	      echo masked man >/n/ftp/zorro

SOURCE
       /appl/cmd/9srvfs.b

SEE ALSO
       bind(1), srv9(3), import(4)

				    Plan 9			     9SRVFS(4)
[top]

List of man pages available for Inferno

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net