diff options
author | Ruslan Ermilov <ru@FreeBSD.org> | 2002-12-12 17:26:04 +0000 |
---|---|---|
committer | Ruslan Ermilov <ru@FreeBSD.org> | 2002-12-12 17:26:04 +0000 |
commit | 8d5d039f80a8d31947f4e84af20e8a56d0009c32 (patch) | |
tree | 8a8960200349aa661a39654202f6e0adc5e7360e /usr.sbin/mountd/exports.5 | |
parent | e66cdcd7e074533df2cf60b30ee57b5607535d28 (diff) | |
download | src-8d5d039f80a8d31947f4e84af20e8a56d0009c32.tar.gz src-8d5d039f80a8d31947f4e84af20e8a56d0009c32.zip |
Notes
Diffstat (limited to 'usr.sbin/mountd/exports.5')
-rw-r--r-- | usr.sbin/mountd/exports.5 | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/usr.sbin/mountd/exports.5 b/usr.sbin/mountd/exports.5 index c37bcc49342e..e617fa47539e 100644 --- a/usr.sbin/mountd/exports.5 +++ b/usr.sbin/mountd/exports.5 @@ -58,39 +58,39 @@ Appendix I. Each line in the file (other than comment lines that begin with a #) specifies the mount point(s) and export flags within one local server -filesystem for one or more hosts. +file system for one or more hosts. A long line may be split over several lines by ending all but the last line with a backslash .Pq Ql \e . -A host may be specified only once for each local filesystem on the +A host may be specified only once for each local file system on the server and there may be only one default entry for each server -filesystem that applies to all other hosts. -The latter exports the filesystem to the ``world'' and should -be used only when the filesystem contains public information. +file system that applies to all other hosts. +The latter exports the file system to the ``world'' and should +be used only when the file system contains public information. .Pp In a mount entry, -the first field(s) specify the directory path(s) within a server filesystem +the first field(s) specify the directory path(s) within a server file system that can be mounted on by the corresponding client(s). There are two forms of this specification. The first is to list all mount points as absolute directory paths separated by whitespace. -The second is to specify the pathname of the root of the filesystem +The second is to specify the pathname of the root of the file system followed by the .Fl alldirs flag; -this form allows the host(s) to mount at any point within the filesystem, +this form allows the host(s) to mount at any point within the file system, including regular files if the .Fl r option is used on .Xr mountd 8 . The pathnames must not have any symbolic links in them and should not have any "." or ".." components. -Mount points for a filesystem may appear on multiple lines each with +Mount points for a file system may appear on multiple lines each with different sets of hosts and export options. .Pp -The second component of a line specifies how the filesystem is to be +The second component of a line specifies how the file system is to be exported to the host set. -The option flags specify whether the filesystem +The option flags specify whether the file system is exported read-only or read-write and how the client uid is mapped to user credentials on the server. .Pp @@ -149,7 +149,7 @@ place of their own. .Pp The .Fl ro -option specifies that the filesystem should be exported read-only +option specifies that the file system should be exported read-only (default read/write). The option .Fl o @@ -163,7 +163,7 @@ be done with the .Fl public flag. However, this flag in itself allows r/w access to all files in -the filesystem, not requiring reserved ports and not remapping uids. +the file system, not requiring reserved ports and not remapping uids. It is only provided to conform to the spec, and should normally not be used. For a @@ -281,7 +281,7 @@ Given that and .Sy /u2 are -local filesystem mount points, the above example specifies the following: +local file system mount points, the above example specifies the following: .Sy /usr is exported to hosts .Em friends @@ -310,7 +310,7 @@ associated with ``root''; it is exported to all hosts on network ``cis-net'' allowing mounts at any directory within /u2. .Pp -The filesystem rooted at +The file system rooted at .Sy /cdrom will exported read-only to the entire network 192.168.33.0/24, including all its subdirectories. @@ -318,7 +318,7 @@ Since .Sy /cdrom is the conventional mountpoint for a CD-ROM device, this export will fail if no CD-ROM medium is currently mounted there since that line -would then attempt to export a subdirectory of the root filesystem +would then attempt to export a subdirectory of the root file system with the .Fl alldirs option which is not allowed. @@ -332,7 +332,7 @@ will notify .Xr mountd 8 about this situation, and the .Sy /cdrom -filesystem will be exported as intented. +file system will be exported as intented. Note that without using the .Fl alldirs option, the export would always succeed. @@ -340,7 +340,7 @@ While there is no CD-ROM medium mounted under .Sy /cdrom , it would export the (normally empty) directory .Sy /cdrom -of the root filesystem instead. +of the root file system instead. .Sh SEE ALSO .Xr netgroup 5 , .Xr mountd 8 , @@ -351,7 +351,7 @@ The export options are tied to the local mount points in the kernel and must be non-contradictory for any exported subdirectory of the local server mount point. It is recommended that all exported directories within the same server -filesystem be specified on adjacent lines going down the tree. +file system be specified on adjacent lines going down the tree. You cannot specify a hostname that is also the name of a netgroup. Specifying the full domain specification for a hostname can normally circumvent the problem. |