plan9port/man/man1/mount.1
Russ Cox 977b25a76a tmac: introduce real manual reference macro instead of overloading IR
The overloading of IR emits magic \X'...' sequences that turn into HTML manual links.
But not all such IR invocations should be manual links;
those had to be written to avoid the IR macro before.
Worse, the \X'...' ending the IR causes troff to emit only a single space after a period.

Defining a new IM macro for manual references fixes both problems.

Fixes #441.
2020-08-13 23:43:43 -04:00

69 lines
1.2 KiB
Groff

.TH MOUNT 1
.SH NAME
mount, unmount \- change name space
.SH SYNOPSIS
.B mount
.I servename
.I mtpt
.PP
.B unmount
.I mtpt
.SH DESCRIPTION
.I Mount
mounts a 9P server's files into the file system.
.I Servename
is typically
either the name of a Unix domain socket
(see
.IM namespace (1) )
or the name or IP address of a machine
serving 9P over TCP port 564.
.PP
.I Unmount
undoes the effects of the
.I mount
command.
.PP
9P services can be mounted on Unix systems in multiple ways.
On Linux,
.I mount
uses the native 9P kernel module when present.
Otherwise it tries to use
.IM 9pfuse (4)
with the FUSE file system module.
Using the 9P kernel module requires root access.
FUSE can often be used by regular users.
On FreeBSD,
.I mount
tries to use FUSE.
.PP
Since Unix already has a
.I mount
command, the version described in this manual page
should be invoked as
.B 9
.BR mount .
.SH EXAMPLES
Mount
.IM acme (4)
onto
.B /mnt/acme :
.IP
.EX
9 mount `namespace`/acme /mnt/acme
.EE
.PP
View your plumbing rules:
.IP
.EX
9 mount `namespace`/plumb /mnt/plumb
cat /mnt/plumb/rules
.EE
.SH SOURCE
.B \*9/bin/mount
.br
.B \*9/bin/unmount
.SH SEE ALSO
.IM intro (4) ,
.IR intro (9p),
.IM 9pfuse (4)