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


Manual Reference Pages  -  SRV (4)

NAME

srv, 9fs - start network file service

CONTENTS

Synopsis
Description
Examples
Source

SYNOPSIS

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

9fs system

DESCRIPTION

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 intro(4)) 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 rc(1) script; examine it to see what local conventions apply.

EXAMPLES

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

SOURCE

/usr/local/plan9/src/cmd/srv.c
/usr/local/plan9/bin/9fs

SEE ALSO

dial(3), intro(4), netfiles(1)
Search for    or go to Top of page |  Section 4 |  Main Index


SRV (4) -->

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