Annotation of src/usr.sbin/puffs/mount_9p/mount_9p.8, Revision 1.4.70.1
1.4.70.1! christos 1: .\" $NetBSD: mount_9p.8,v 1.10 2019/06/07 05:34:34 ozaki-r Exp $
1.1 pooka 2: .\"
3: .\" Copyright (c) 2007 Antti Kantee. All rights reserved.
4: .\"
5: .\" Redistribution and use in source and binary forms, with or without
6: .\" modification, are permitted provided that the following conditions
7: .\" are met:
8: .\" 1. Redistributions of source code must retain the above copyright
9: .\" notice, this list of conditions and the following disclaimer.
10: .\" 2. Redistributions in binary form must reproduce the above copyright
11: .\" notice, this list of conditions and the following disclaimer in the
12: .\" documentation and/or other materials provided with the distribution.
13: .\"
14: .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15: .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16: .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17: .\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18: .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19: .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20: .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21: .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22: .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23: .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24: .\" SUCH DAMAGE.
25: .\"
1.4.70.1! christos 26: .Dd June 7, 2019
1.1 pooka 27: .Dt MOUNT_9P 8
28: .Os
29: .Sh NAME
30: .Nm mount_9p
31: .Nd mount a file server using the 9P resource sharing protocol
32: .Sh SYNOPSIS
33: .Nm
1.4.70.1! christos 34: .Op Fl su
1.2 pooka 35: .Op Fl o Ar mntopts
36: .Op Fl p Ar port
1.3 pooka 37: .Ar [user@]host[:path]
1.1 pooka 38: .Ar mount_point
39: .Sh DESCRIPTION
40: The
41: .Nm
1.4 wiz 42: program is used to mount a file hierarchy served with the Plan 9
1.1 pooka 43: file sharing protocol: 9P.
44: After the file system is mounted, the files on the remote
1.3 pooka 45: .Ar host
1.1 pooka 46: will be accessed using the credentials of the user named
47: .Ar user
1.4 wiz 48: and whatever UID the user happens to have on the remote server.
1.3 pooka 49: If
50: .Ar path
51: is supplied, it is used as the mount rootpath on the remote host.
52: .Ar path
53: must be an absolute path.
1.4.70.1! christos 54: .Pp
! 55: By default
! 56: .Nm
! 57: runs in the background with
! 58: .Xr daemon 3 .
! 59: With the
! 60: .Fl s
! 61: option
! 62: .Nm
! 63: runs in the forground.
! 64: .Pp
! 65: By default
! 66: .Nm
! 67: follows the 9P2000 protocol.
! 68: With the
! 69: .Fl u
! 70: option
! 71: .Nm
! 72: follows the 9P2000.u protocol that includes extensions to better support Unix
! 73: environments.
1.1 pooka 74: .Sh SEE ALSO
75: .Xr puffs 3 ,
76: .Xr puffs 4 ,
77: .Xr mount 8
1.4.70.1! christos 78: .Rs
! 79: .%T RFC and standards documents relating the 9P protocol
! 80: .%U http://ericvh.github.io/9p-rfc/
! 81: .Re
1.1 pooka 82: .Sh HISTORY
83: The
84: .Nm
85: utility first appeared in
86: .Nx 5.0 .
1.4.70.1! christos 87: .Pp
! 88: Experimental 9P2000.u support appeared in
! 89: .Nx 9.0 .
1.1 pooka 90: .Sh CAVEATS
91: Permissions are not handled well.
92: .Pp
93: Authentication support is missing.
94: .Pp
1.4.70.1! christos 95: Error code handling is missing for 9P2000.
1.1 pooka 96: .Pp
97: Under construction.
1.4.70.1! christos 98: .Pp
! 99: 9P2000.u support doesn't use extension fields.
CVSweb <webmaster@jp.NetBSD.org>