Annotation of 43BSDReno/sbin/mountd/exports.5, revision 1.1

1.1     ! root        1: .\" Copyright (c) 1989 The Regents of the University of California.
        !             2: .\" All rights reserved.
        !             3: .\"
        !             4: .\" Redistribution and use in source and binary forms are permitted provided
        !             5: .\" that: (1) source distributions retain this entire copyright notice and
        !             6: .\" comment, and (2) distributions including binaries display the following
        !             7: .\" acknowledgement:  ``This product includes software developed by the
        !             8: .\" University of California, Berkeley and its contributors'' in the
        !             9: .\" documentation or other materials provided with the distribution and in
        !            10: .\" all advertising materials mentioning features or use of this software.
        !            11: .\" Neither the name of the University nor the names of its contributors may
        !            12: .\" be used to endorse or promote products derived from this software without
        !            13: .\" specific prior written permission.
        !            14: .\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
        !            15: .\" WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
        !            16: .\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
        !            17: .\"
        !            18: .\"    @(#)exports.5   5.1 (Berkeley) 6/25/90
        !            19: .\"
        !            20: .TH EXPORTS 5 "June 25, 1990"
        !            21: .UC 7
        !            22: .SH NAME
        !            23: exports \- define remote mount points for NFS mount requests
        !            24: .SH SYNOPSIS
        !            25: .B /etc/exports
        !            26: .SH DESCRIPTION
        !            27: .I Exports
        !            28: specifies remote mount points for the
        !            29: .SM NFS
        !            30: mount protocol per the
        !            31: .SM NFS
        !            32: server specification; see
        !            33: ``Network File System Protocol Specification, RFC1094''.
        !            34: .LP
        !            35: Each line in the file specifies one remote mount point.
        !            36: The first field is the mount point directory path followed
        !            37: optionally by export options and specific hosts separated by white space.
        !            38: Only the first entry for a given local file system may specify the export
        !            39: options, since these are handled on a \fIper local file system\fR basis.
        !            40: If no specific hosts are specified,
        !            41: the mount point is exported to all hosts.
        !            42: .LP
        !            43: The export options are as follows:
        !            44: .B \-root=<uid>
        !            45: specifies how to map root's uid (default -2).
        !            46: The option \fB\-r\fR is synonyms for \fB\-root\fP
        !            47: in an effort to be backward compatible with older export file formats.
        !            48: .sp
        !            49: .B \-ro
        !            50: specifies that the file system should be exported Read-only
        !            51: (default Read/Write).
        !            52: The option \fB-o\fR is synonyms for \fB\-ro\fP
        !            53: in an effort to be backward compatible with older export file formats.
        !            54: .LP
        !            55: For example:
        !            56: .RS
        !            57: /usr -root=0 rickers snowhite.cis.uoguelph.ca
        !            58: .br
        !            59: /usr/local 131.104.48.16
        !            60: .br
        !            61: /u -root=5
        !            62: .br
        !            63: /u2 -ro
        !            64: .RE
        !            65: .sp
        !            66: given that \fB/usr\fR, \fB/u\fR and \fB/u2\fR are
        !            67: local file system mount points, specifies the following:
        !            68: .RS
        !            69: \fB/usr\fR
        !            70: is exported to hosts \fIrickers\fR and \fIsnowhite.cis.uoguelph.ca\fR with
        !            71: root mapped to root.
        !            72: .br
        !            73: \fB/usr/local\fR
        !            74: is exported to host \fI131.104.48.16\fR with root mapped to root.
        !            75: .br
        !            76: \fB/u\fR
        !            77: is exported to all hosts with root mapped to uid 5.
        !            78: .br
        !            79: \fB/u2\fR
        !            80: is exported to all hosts Read-only with root mapped to -2.
        !            81: .RE
        !            82: .LP
        !            83: Note that \fB/usr/local -root=5\fR would have been incorrect,
        !            84: since \fB/usr\fR and \fB/usr/local\fR reside in the same local file system.
        !            85: .SH FILES
        !            86: /etc/exports
        !            87: .SH SEE ALSO
        !            88: .IR mountd (8),
        !            89: .IR nfsd (8),
        !            90: .IR showmount (8)
        !            91: .SH BUGS
        !            92: It would be nice if the export options were not tied to local mount points.

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.