summaryrefslogtreecommitdiffstats
path: root/sbin/mount_nullfs
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2001-05-23 14:58:19 +0000
committerru <ru@FreeBSD.org>2001-05-23 14:58:19 +0000
commitd6e286694d01e4503e4daeed19e3292fcaccd771 (patch)
treeab01e79c839ddfbf22ff2fcf59bb7af9d63e3c95 /sbin/mount_nullfs
parent196fd7759f1cf679623146c047cdcd0e200c93df (diff)
downloadFreeBSD-src-d6e286694d01e4503e4daeed19e3292fcaccd771.zip
FreeBSD-src-d6e286694d01e4503e4daeed19e3292fcaccd771.tar.gz
Rename (after a repo-copy) some mount(8) programs:
mount_fdesc -> mount_fdescfs mount_null -> mount_nullfs mount_portal -> mount_portalfs mount_umap -> mount_umapfs mount_union -> mount_unionfs
Diffstat (limited to 'sbin/mount_nullfs')
-rw-r--r--sbin/mount_nullfs/Makefile6
-rw-r--r--sbin/mount_nullfs/mount_nullfs.812
-rw-r--r--sbin/mount_nullfs/mount_nullfs.c2
3 files changed, 10 insertions, 10 deletions
diff --git a/sbin/mount_nullfs/Makefile b/sbin/mount_nullfs/Makefile
index 3c50252..0e281d1 100644
--- a/sbin/mount_nullfs/Makefile
+++ b/sbin/mount_nullfs/Makefile
@@ -1,9 +1,9 @@
# @(#)Makefile 8.3 (Berkeley) 3/27/94
# $FreeBSD$
-PROG= mount_null
-SRCS= mount_null.c getmntopts.c
-MAN= mount_null.8
+PROG= mount_nullfs
+SRCS= mount_nullfs.c getmntopts.c
+MAN= mount_nullfs.8
MOUNT= ${.CURDIR}/../mount
CFLAGS+=-I${MOUNT}
diff --git a/sbin/mount_nullfs/mount_nullfs.8 b/sbin/mount_nullfs/mount_nullfs.8
index 2ac1c25..84cc116 100644
--- a/sbin/mount_nullfs/mount_nullfs.8
+++ b/sbin/mount_nullfs/mount_nullfs.8
@@ -38,10 +38,10 @@
.\" $FreeBSD$
.\"
.Dd May 1, 1995
-.Dt MOUNT_NULL 8
-.Os BSD 4.4
+.Dt MOUNT_NULLFS 8
+.Os
.Sh NAME
-.Nm mount_null
+.Nm mount_nullfs
.Nd "mount a loopback filesystem sub-tree; demonstrate the use of a null file system layer"
.Sh SYNOPSIS
.Nm
@@ -102,8 +102,8 @@ for constructing new layers.
.\"
.Sh INSTANTIATING NEW NULL LAYERS
New null layers are created with
-.Xr mount_null 8 .
-.Xr Mount_null 8
+.Nm .
+.Nm Mount_nullfs
takes two arguments, the pathname
of the lower vfs (target-pn) and the pathname where the null
layer will appear in the namespace (mount-point-pn). After
@@ -162,7 +162,7 @@ vnode before returning it to the caller.
.Pp
For example, imagine mounting a null layer with
.Bd -literal -offset indent
-mount_null /usr/include /dev/layer/null
+mount_nullfs /usr/include /dev/layer/null
.Ed
Changing directory to
.Pa /dev/layer/null
diff --git a/sbin/mount_nullfs/mount_nullfs.c b/sbin/mount_nullfs/mount_nullfs.c
index 8e6b8f0..a5bcd73 100644
--- a/sbin/mount_nullfs/mount_nullfs.c
+++ b/sbin/mount_nullfs/mount_nullfs.c
@@ -143,6 +143,6 @@ static void
usage()
{
(void)fprintf(stderr,
- "usage: mount_null [-o options] target_fs mount_point\n");
+ "usage: mount_nullfs [-o options] target_fs mount_point\n");
exit(1);
}
OpenPOWER on IntegriCloud