GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
SRV(4) FreeBSD Kernel Interfaces Manual SRV(4)

srv, 9fs - start network file service

srv [ -an ] [ -k keypattern ] address [ srvname ]

9fs system

Srv dials the given address and initializes the connection to serve the 9P protocol. It then posts the resulting connection in the current name space (see as srvname (default address).

The -a option causes srv to post a pre-authenticated connection to the file system aname (by default, the empty string; see attach(9p)).

The -n option causes srv to reject authentication attempts by clients, useful if the remote server is known not to require authentication.

Srv authenticates over the 9P connection to establish a valid auth fid. Keypattern, if specified, is used to select the key used for authentication. Client attach requests are rewritten to use the specified aname and auth fid.

The 9fs command executes the srv necessary to make available the files of system.

9fs recognizes some special names, such as sources to make the file server sources.cs.bell-labs.com available as service sources. 9fs is an script; examine it to see what local conventions apply.

List the root directory on sources:
9fs sources
9p ls sources
    

Mount a remote file server bootes on Linux using the kernel 9P mount driver, with srv handling authentication:

srv -a sources.cs.bell-labs.com sources
sudo mount -t 9p -o trans=unix,uname=$USER,dfltuid=`id -u`,dfltgid=`id -g`
           `namespace`/sources /n/sources
    

/src/cmd/srv.c
/bin/9fs


Search for    or go to Top of page |  Section 4 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.