From d6e286694d01e4503e4daeed19e3292fcaccd771 Mon Sep 17 00:00:00 2001 From: ru Date: Wed, 23 May 2001 14:58:19 +0000 Subject: 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 --- sbin/mount_nullfs/Makefile | 6 +++--- sbin/mount_nullfs/mount_nullfs.8 | 12 ++++++------ sbin/mount_nullfs/mount_nullfs.c | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) (limited to 'sbin/mount_nullfs') 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); } -- cgit v1.1