Rename the loadable nullfs kernel module: null -> nullfs
This commit is contained in:
parent
1fb2276093
commit
1b2fbe6ff9
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=63962
@ -107,12 +107,12 @@ main(argc, argv)
|
|||||||
|
|
||||||
args.target = target;
|
args.target = target;
|
||||||
|
|
||||||
error = getvfsbyname("null", &vfc);
|
error = getvfsbyname("nullfs", &vfc);
|
||||||
if (error && vfsisloadable("null")) {
|
if (error && vfsisloadable("nullfs")) {
|
||||||
if(vfsload("null"))
|
if(vfsload("nullfs"))
|
||||||
err(EX_OSERR, "vfsload(null)");
|
err(EX_OSERR, "vfsload(nullfs)");
|
||||||
endvfsent();
|
endvfsent();
|
||||||
error = getvfsbyname("null", &vfc);
|
error = getvfsbyname("nullfs", &vfc);
|
||||||
}
|
}
|
||||||
if (error)
|
if (error)
|
||||||
errx(EX_OSERR, "null/loopback filesystem is not available");
|
errx(EX_OSERR, "null/loopback filesystem is not available");
|
||||||
|
@ -107,12 +107,12 @@ main(argc, argv)
|
|||||||
|
|
||||||
args.target = target;
|
args.target = target;
|
||||||
|
|
||||||
error = getvfsbyname("null", &vfc);
|
error = getvfsbyname("nullfs", &vfc);
|
||||||
if (error && vfsisloadable("null")) {
|
if (error && vfsisloadable("nullfs")) {
|
||||||
if(vfsload("null"))
|
if(vfsload("nullfs"))
|
||||||
err(EX_OSERR, "vfsload(null)");
|
err(EX_OSERR, "vfsload(nullfs)");
|
||||||
endvfsent();
|
endvfsent();
|
||||||
error = getvfsbyname("null", &vfc);
|
error = getvfsbyname("nullfs", &vfc);
|
||||||
}
|
}
|
||||||
if (error)
|
if (error)
|
||||||
errx(EX_OSERR, "null/loopback filesystem is not available");
|
errx(EX_OSERR, "null/loopback filesystem is not available");
|
||||||
|
@ -90,7 +90,7 @@ mfs_load="NO" # Memory filesystem
|
|||||||
msdos_load="NO" # FAT-12/16/32
|
msdos_load="NO" # FAT-12/16/32
|
||||||
nfs_load="NO" # NFS
|
nfs_load="NO" # NFS
|
||||||
ntfs_load="NO" # NTFS
|
ntfs_load="NO" # NTFS
|
||||||
null_load="NO" # Null filesystem
|
nullfs_load="NO" # Null filesystem
|
||||||
portal_load="NO" # Portal filesystem
|
portal_load="NO" # Portal filesystem
|
||||||
procfs_load="NO" # Process filesystem
|
procfs_load="NO" # Process filesystem
|
||||||
umap_load="NO" # User-id map filesystem
|
umap_load="NO" # User-id map filesystem
|
||||||
|
@ -446,4 +446,4 @@ static struct vfsops null_vfsops = {
|
|||||||
nullfs_extattrctl,
|
nullfs_extattrctl,
|
||||||
};
|
};
|
||||||
|
|
||||||
VFS_SET(null_vfsops, null, VFCF_LOOPBACK);
|
VFS_SET(null_vfsops, nullfs, VFCF_LOOPBACK);
|
||||||
|
@ -446,4 +446,4 @@ static struct vfsops null_vfsops = {
|
|||||||
nullfs_extattrctl,
|
nullfs_extattrctl,
|
||||||
};
|
};
|
||||||
|
|
||||||
VFS_SET(null_vfsops, null, VFCF_LOOPBACK);
|
VFS_SET(null_vfsops, nullfs, VFCF_LOOPBACK);
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
.PATH: ${.CURDIR}/../../miscfs/nullfs
|
.PATH: ${.CURDIR}/../../miscfs/nullfs
|
||||||
KMOD= null
|
KMOD= nullfs
|
||||||
SRCS= vnode_if.h \
|
SRCS= vnode_if.h \
|
||||||
null_subr.c null_vfsops.c null_vnops.c
|
null_subr.c null_vfsops.c null_vnops.c
|
||||||
NOMAN=
|
NOMAN=
|
||||||
|
Loading…
Reference in New Issue
Block a user