.\" $NetBSD: mount_9p.8,v 1.10 2019/06/07 05:34:34 ozaki-r Exp $ .\" .\" Copyright (c) 2007 Antti Kantee. All rights reserved. .\" .\" Redistribution and use in source and binary forms, with or without .\" modification, are permitted provided that the following conditions .\" are met: .\" 1. Redistributions of source code must retain the above copyright .\" notice, this list of conditions and the following disclaimer. .\" 2. Redistributions in binary form must reproduce the above copyright .\" notice, this list of conditions and the following disclaimer in the .\" documentation and/or other materials provided with the distribution. .\" .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE .\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" .Dd June 7, 2019 .Dt MOUNT_9P 8 .Os .Sh NAME .Nm mount_9p .Nd mount a file server using the 9P resource sharing protocol .Sh SYNOPSIS .Nm .Op Fl su .Op Fl o Ar mntopts .Op Fl p Ar port .Ar [user@]host[:path] .Ar mount_point .Sh DESCRIPTION The .Nm program is used to mount a file hierarchy served with the Plan 9 file sharing protocol: 9P. After the file system is mounted, the files on the remote .Ar host will be accessed using the credentials of the user named .Ar user and whatever UID the user happens to have on the remote server. If .Ar path is supplied, it is used as the mount rootpath on the remote host. .Ar path must be an absolute path. .Pp By default .Nm runs in the background with .Xr daemon 3 . With the .Fl s option .Nm runs in the forground. .Pp By default .Nm follows the 9P2000 protocol. With the .Fl u option .Nm follows the 9P2000.u protocol that includes extensions to better support Unix environments. .Sh SEE ALSO .Xr puffs 3 , .Xr puffs 4 , .Xr mount 8 .Rs .%T RFC and standards documents relating the 9P protocol .%U http://ericvh.github.io/9p-rfc/ .Re .Sh HISTORY The .Nm utility first appeared in .Nx 5.0 . .Pp Experimental 9P2000.u support appeared in .Nx 9.0 . .Sh CAVEATS Permissions are not handled well. .Pp Authentication support is missing. .Pp Error code handling is missing for 9P2000. .Pp Under construction. .Pp 9P2000.u support doesn't use extension fields. |