STUB man page on Plan9

Printed from http://www.polarhome.com/service/man/?qf=STUB&af=0&tf=2&of=Plan9

STUB(8)								       STUB(8)

NAME
       stub - provide mount point stubs

SYNOPSIS
       aux/stub [ -Dd ] path/name

DESCRIPTION
       Aux/stub	 union mounts itself before path in the name space.  It serves
       a file system containing a single entry, name, with file mode  0.   The
       intent  is  to  provide	a place to bind or mount other resources.  The
       options are:

       -D     print all 9P messages

       -d     make name a directory; by default it is a file

EXAMPLE
       Use stub and sshnet (see ssh(1))	 to  create  a	new  network  protocol
       ``mit'' that is actually TCP tunneled via SSH to a machine at MIT:

	      % sshnet -m /net.alt amsterdam.lcs.mit.edu
	      % aux/stub -d /net/mit
	      % bind /net.alt/tcp /net/mit
	      % con -l mit!plan9.bell-labs.com!whoami
	      connected to mit!plan9.bell-labs.com!whoami on /net/mit/0
	      i am 135.104.24.16 sysname achille you are 18.26.4.9 port 1248
	      %

SOURCE
       /sys/src/cmd/aux/stub.c

SEE ALSO
       mntgen(4)

								       STUB(8)
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server Plan9

List of man pages available for Plan9

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