summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2001-05-24 15:20:11 +0000
committerru <ru@FreeBSD.org>2001-05-24 15:20:11 +0000
commit1fdf57d327ca8bed8af253373e4a1b50f2bc2f90 (patch)
treef7b09d40da40aadd25429942dd9d9cef69d1d9e8 /sbin
parent79f2c51981fbe3f97f73892d27570bf5d8c9b840 (diff)
downloadFreeBSD-src-1fdf57d327ca8bed8af253373e4a1b50f2bc2f90.zip
FreeBSD-src-1fdf57d327ca8bed8af253373e4a1b50f2bc2f90.tar.gz
Actually rename FDESC, PORTAL, UMAP and UNION file systems.
OK'ed by: bp
Diffstat (limited to 'sbin')
-rw-r--r--sbin/mount_portalfs/mount_portalfs.c10
-rw-r--r--sbin/mount_umapfs/mount_umapfs.c10
-rw-r--r--sbin/mount_unionfs/mount_unionfs.c10
3 files changed, 15 insertions, 15 deletions
diff --git a/sbin/mount_portalfs/mount_portalfs.c b/sbin/mount_portalfs/mount_portalfs.c
index db57fec..4657be3 100644
--- a/sbin/mount_portalfs/mount_portalfs.c
+++ b/sbin/mount_portalfs/mount_portalfs.c
@@ -175,12 +175,12 @@ main(argc, argv)
sprintf(tag, "portal:%d", getpid());
args.pa_config = tag;
- error = getvfsbyname("portal", &vfc);
- if (error && vfsisloadable("portal")) {
- if (vfsload("portal"))
- err(EX_OSERR, "vfsload(portal)");
+ error = getvfsbyname("portalfs", &vfc);
+ if (error && vfsisloadable("portalfs")) {
+ if (vfsload("portalfs"))
+ err(EX_OSERR, "vfsload(portalfs)");
endvfsent();
- error = getvfsbyname("portal", &vfc);
+ error = getvfsbyname("portalfs", &vfc);
}
if (error)
errx(EX_OSERR, "portal filesystem is not available");
diff --git a/sbin/mount_umapfs/mount_umapfs.c b/sbin/mount_umapfs/mount_umapfs.c
index 19817ca..88f1d5d 100644
--- a/sbin/mount_umapfs/mount_umapfs.c
+++ b/sbin/mount_umapfs/mount_umapfs.c
@@ -226,12 +226,12 @@ main(argc, argv)
args.gnentries = gnentries;
args.gmapdata = gmapdata;
- error = getvfsbyname("umap", &vfc);
- if (error && vfsisloadable("umap")) {
- if(vfsload("umap"))
- err(1, "vfsload(umap)");
+ error = getvfsbyname("umapfs", &vfc);
+ if (error && vfsisloadable("umapfs")) {
+ if(vfsload("umapfs"))
+ err(1, "vfsload(umapfs)");
endvfsent();
- error = getvfsbyname("umap", &vfc);
+ error = getvfsbyname("umapfs", &vfc);
}
if (error)
errx(1, "umap filesystem is not available");
diff --git a/sbin/mount_unionfs/mount_unionfs.c b/sbin/mount_unionfs/mount_unionfs.c
index cc2785b..d412626 100644
--- a/sbin/mount_unionfs/mount_unionfs.c
+++ b/sbin/mount_unionfs/mount_unionfs.c
@@ -119,12 +119,12 @@ main(argc, argv)
args.target = target;
- error = getvfsbyname("union", &vfc);
- if (error && vfsisloadable("union")) {
- if (vfsload("union"))
- err(EX_OSERR, "vfsload(union)");
+ error = getvfsbyname("unionfs", &vfc);
+ if (error && vfsisloadable("unionfs")) {
+ if (vfsload("unionfs"))
+ err(EX_OSERR, "vfsload(unionfs)");
endvfsent(); /* flush cache */
- error = getvfsbyname("union", &vfc);
+ error = getvfsbyname("unionfs", &vfc);
}
if (error)
errx(EX_OSERR, "union filesystem is not available");
OpenPOWER on IntegriCloud