Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sbin/mount Clarify the program naming convention, and use co...



details:   https://anonhg.NetBSD.org/src/rev/e13625abd9bd
branches:  trunk
changeset: 827951:e13625abd9bd
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Nov 20 16:41:55 2017 +0000

description:
Clarify the program naming convention, and use consistently <fstype> instead
of XXX.

diffstat:

 sbin/mount/mount.8 |  19 +++++++++++++++----
 1 files changed, 15 insertions(+), 4 deletions(-)

diffs (54 lines):

diff -r a3469bb3a725 -r e13625abd9bd sbin/mount/mount.8
--- a/sbin/mount/mount.8        Mon Nov 20 09:01:20 2017 +0000
+++ b/sbin/mount/mount.8        Mon Nov 20 16:41:55 2017 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: mount.8,v 1.83 2017/03/22 21:14:11 jdolecek Exp $
+.\"    $NetBSD: mount.8,v 1.84 2017/11/20 16:41:55 christos Exp $
 .\"
 .\" Copyright (c) 1980, 1989, 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\"     @(#)mount.8    8.8 (Berkeley) 6/16/94
 .\"
-.Dd March 22, 2017
+.Dd November 20, 2017
 .Dt MOUNT 8
 .Os
 .Sh NAME
@@ -56,6 +56,14 @@
 .Ar node ,
 or to update options for an already-mounted file system.
 .Pp
+These programs are named
+.Dq mount_<fstype>
+where
+.Dq <fstype>
+refers to the file system-specific type; for example
+for NFS the mount program is called
+.Xr mount_nfs 8 .
+.Pp
 The
 .Ar node
 argument is always interpreted as a directory in the name space of
@@ -273,7 +281,10 @@
 is re-read from disk, all cached inactive vnodes and file data are
 invalidated and all inode data are re-read for all active vnodes.
 .It Cm rump
-Instead of running mount_type to mount the file system, run rump_type.
+Instead of running 
+.Dq mount_<fstype>
+to mount the file system, run
+.Dq rump_<fstype> .
 This uses a userspace server to mount the file system and does not
 require kernel support for the specific file system type.
 See the
@@ -462,7 +473,7 @@
 .Pp
 The options specific to the various file system types are
 described in the manual pages for those file systems'
-.Nm mount_XXX
+.Dq mount_<fstype>
 commands;
 for instance, the options specific to Berkeley
 Fast File System (FFS) are described in the



Home | Main Index | Thread Index | Old Index