Remove vestiges of MFS.

This commit is contained in:
Ruslan Ermilov 2001-06-01 10:07:28 +00:00
parent 64dddc1872
commit 0b381bf1fd
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=77575
29 changed files with 25 additions and 116 deletions

View File

@ -122,13 +122,13 @@ For example, the
.Nm
command:
.Bd -literal -offset indent
df -t nonfs,mfs
df -t nonfs,nullfs
.Ed
.Pp
lists all filesystems except those of type
.Tn NFS
and
.Tn MFS .
.Tn NULLFS .
The
.Xr lsvfs 1
command can be used to find out the types of filesystems

View File

@ -114,7 +114,6 @@ daily_status_security_enable="YES" # Security check
daily_status_security_inline="NO" # Run inline ?
daily_status_security_output="root" # user or /file
daily_status_security_noamd="NO" # Don't check amd mounts
daily_status_security_nomfs="NO" # Don't check mfs mounts
# 460.status-mail-rejects
daily_status_mail_rejects_enable="YES" # Check mail rejects

View File

@ -106,8 +106,6 @@
ufs
ffs
..
mfs
..
ufs
..
..

View File

@ -23,11 +23,6 @@ case "$daily_status_security_enable" in
args=;;
esac
case "$daily_status_security_nomfs" in
[Yy][Ee][Ss])
args="$args -m";;
esac
case "$daily_status_security_inline" in
[Yy][Ee][Ss])
sh /etc/security -s $args

View File

@ -55,7 +55,7 @@ mount_md()
/sbin/mount /dev/md$3c $2
}
echo "+++ mfs_mount of /var"
# If there is a global system configuration file, suck it in.
mount_md ${varsize:=65536} /var 1
if [ -r /etc/rc.subr ]; then
. /etc/rc.subr

View File

@ -55,7 +55,7 @@ mount_md()
/sbin/mount /dev/md$3c $2
}
echo "+++ mfs_mount of /var"
# If there is a global system configuration file, suck it in.
mount_md ${varsize:=65536} /var 1
if [ -r /etc/rc.subr ]; then
. /etc/rc.subr

View File

@ -55,7 +55,7 @@ mount_md()
/sbin/mount /dev/md$3c $2
}
echo "+++ mfs_mount of /var"
# If there is a global system configuration file, suck it in.
mount_md ${varsize:=65536} /var 1
if [ -r /etc/rc.subr ]; then
. /etc/rc.subr

View File

@ -55,7 +55,7 @@ mount_md()
/sbin/mount /dev/md$3c $2
}
echo "+++ mfs_mount of /var"
# If there is a global system configuration file, suck it in.
mount_md ${varsize:=65536} /var 1
if [ -r /etc/rc.subr ]; then
. /etc/rc.subr

View File

@ -55,7 +55,7 @@ elif [ -r /etc/rc.conf ]; then
. /etc/rc.conf
fi
echo "+++ mfs_mount of /var"
echo "+++ mount_md of /var"
mount_md ${varsize:=65536} /var 1
echo "+++ populate /var using /etc/mtree/BSD.var.dist"

View File

@ -47,11 +47,10 @@ catmsgs() {
}
sflag=FALSE ignore=
while getopts ams c
while getopts as c
do
case "$c" in
a) ignore="$ignore|^amd:";;
m) ignore="$ignore|^mfs:";;
s) sflag=TRUE;;
esac
done

View File

@ -110,8 +110,9 @@ defined in
The
.Fx
VM system totally ignores the sticky bit
.Pf ( Dv ISVTX
) for executables. On UFS-based filesystems (FFS, MFS, LFS) the sticky
.Pq Dv ISVTX
for executables.
On UFS-based filesystems (FFS, LFS) the sticky
bit may only be set upon directories.
.Pp
If mode

View File

@ -260,26 +260,6 @@ Some part of the information described by nfs_args
points outside the process's allocated address space.
.El
.Pp
The following errors can occur for a
.Em mfs
filesystem mount:
.Bl -tag -width Er
.It Bq Er EMFILE
No space remains in the mount table.
.It Bq Er EINVAL
The super block for the filesystem had a bad magic
number or an out of range block size.
.It Bq Er ENOMEM
Not enough memory was available to read the cylinder
group information for the filesystem.
.It Bq Er EIO
A paging error occurred while reading the super block or
cylinder group information.
.It Bq Er EFAULT
.Em Name
points outside the process's allocated address space.
.El
.Pp
The
.Fn unmount
function may fail with one of the following errors:
@ -307,13 +287,10 @@ points outside the process's allocated address space.
.Pp
A
.Em ufs
or
.Em mfs
mount can also fail if the maximum number of filesystems are currently
mounted.
.Sh SEE ALSO
.Xr lsvfs 1 ,
.Xr mfs 8 ,
.Xr mount 8 ,
.Xr umount 8
.Sh BUGS

View File

@ -224,14 +224,14 @@ For example, the
.Nm
command:
.Bd -literal -offset indent
mount -t mfs -o nosuid,-N,-s=4000 /dev/dk0b /tmp
mount -t unionfs -o -b /sys $HOME/sys
.Ed
.Pp
causes
.Nm
to execute the equivalent of:
.Bd -literal -offset indent
/sbin/mount_mfs -o nosuid -N -s 4000 /dev/dk0b /tmp
/sbin/mount_unionfs -b /sys $HOME/sys
.Ed
.Pp
Additional options specific to filesystem types
@ -279,13 +279,13 @@ For example, the
.Nm
command:
.Bd -literal -offset indent
mount -a -t nonfs,mfs
mount -a -t nonfs,nullfs
.Ed
.Pp
mounts all filesystems except those of type
.Tn NFS
and
.Tn MFS .
.Tn NULLFS .
.Pp
If the type is not one of the internally known types,
.Nm
@ -374,7 +374,6 @@ file system table
.Xr mount_fdescfs 8 ,
.Xr mount_hpfs 8 ,
.Xr mount_linprocfs 8 ,
.Xr mount_mfs 8 ,
.Xr mount_msdos 8 ,
.Xr mount_nfs 8 ,
.Xr mount_ntfs 8 ,

View File

@ -2,7 +2,6 @@
# $FreeBSD$
PROG= mountd
CFLAGS+=-DNFS -DMFS -DCD9660 -DMSDOSFS
MAN= exports.5 netgroup.5 mountd.8
.include <bsd.prog.mk>

View File

@ -102,13 +102,13 @@ For example, the
.Nm
command:
.Bd -literal -offset indent
umount -a -t nfs,mfs
umount -a -t nfs,nullfs
.Ed
.Pp
unmounts all filesystems of the type
.Tn NFS
and
.Tn MFS
.Tn NULLFS
that are listed in the
.Xr fstab 5
file.

View File

@ -142,20 +142,6 @@ Marc Teitelbaum, Keith Bostic.
.sp
Revised February 2, 1989.
.sp
.IP
.tl '\fBMemory Based Filesystem''memfs\fP'
.if \n(.U \{\
.br
.>> <a href="memfs.html">memfs.html</a>
.\}
.QP
A Pageable Memory Based Filesystem.
.sp
Marshall Kirk McKusick, Michael J. Karels, Keith Bostic.
.sp
Revised 1990.
.sp
.IP
.tl '\fBFilesystem Interface''fsinterface\fP'

View File

@ -1,22 +0,0 @@
# From: @(#)Makefile 1.8 (Berkeley) 6/8/93
# $FreeBSD$
VOLUME= papers
DOC= memfs
SRCS= tmac.srefs paper.t
MACROS= -ms
CLEANFILES=A.gt paper.t ref.bib.i
SRCDIR= ${.OBJDIR} # ack!
A.gt: A.t
${GRIND} < ${.ALLSRC} > ${.TARGET}
paper.t: 0.t 1.t ref.bib.i A.gt
${REFER} -n -e -l -s -p ${.CURDIR}/ref.bib ${.ALLSRC:Nref.bib.i} \
> ${.TARGET}
ref.bib.i: ref.bib
${INDXBIB} -c ${.CURDIR}/../../../../contrib/groff/src/utils/indxbib/eign \
-o ref.bib ${.ALLSRC}
.include <bsd.doc.mk>

View File

@ -86,7 +86,7 @@ The system can support various filesystem types.
Only the root, /usr, and /tmp filesystems need be statically
compiled into the kernel;
everything else will be automatically loaded at mount
time. (Exception: the UFS family - FFS, MFS, and LFS cannot
time. (Exception: the UFS family - FFS and LFS cannot
currently be demand-loaded.) Some people still prefer to statically
compile other filesystems as well.
.Bl -tag -width indent -offset indent
@ -94,10 +94,6 @@ compile other filesystems as well.
a local
.Tn UNIX
filesystem
.It Em mfs
a local memory-based
.Tn UNIX
filesystem
.It Em nfs
a Sun Microsystems compatible ``Network File System''
.It Em swap

View File

@ -445,13 +445,6 @@ Set to
if you want to ignore
.Xr amd 8
mounts when comparing against yesterdays filesystem mounts.
.It Va daily_status_security_nomfs
.Pq Vt bool
Set to
.Dq YES
if you want to ignore
.Xr mfs 8
mounts when comparing against yesterdays filesystem mounts.
.It Va daily_status_mail_rejects_enable
.Pq Vt bool
Set to
@ -616,7 +609,6 @@ is shared or distributed.
.Xr ac 8 ,
.Xr chkgrp 8 ,
.Xr dump 8 ,
.Xr mfs 8 ,
.Xr newsyslog 8 ,
.Xr periodic 8
.Sh HISTORY

View File

@ -294,10 +294,6 @@ C include files for UFS (The U-word File System)
.Bl -tag -width "kerberosIV/" -compact
.It Pa ffs/
Fast filesystem
.It Pa mfs/
memory file system;
see
.Xr mount_mfs 8
.It Pa ufs/
UFS filesystem
.El

View File

@ -50,7 +50,7 @@ enum vtype { VNON, VREG, VDIR, VBLK, VCHR, VLNK, VSOCK, VFIFO, VBAD };
* and should NEVER be inspected by the kernel.
*/
enum vtagtype {
VT_NON, VT_UFS, VT_NFS, VT_MFS, VT_PC, VT_LFS, VT_LOFS, VT_FDESC,
VT_NON, VT_UFS, VT_NFS, VT_UNUSED, VT_PC, VT_LFS, VT_LOFS, VT_FDESC,
VT_PORTAL, VT_NULL, VT_UMAP, VT_KERNFS, VT_PROCFS, VT_AFS, VT_ISOFS,
VT_UNION, VT_MSDOSFS, VT_DEVFS, VT_TFS, VT_VFS, VT_CODA, VT_NTFS,
VT_HPFS, VT_NWFS, VT_PSEUDOFS

View File

@ -88,7 +88,6 @@ module_path="/boot/kernel;/boot/modules;/modules" # Set the module search path
cd9660_load="NO" # ISO 9660 filesystem
coda_load="NO" # CODA filesystem
fdescfs_load="NO" # Filedescriptors filesystem
mfs_load="NO" # Memory filesystem
msdosfs_load="NO" # FAT-12/16/32
nfs_load="NO" # NFS
ntfs_load="NO" # NTFS

View File

@ -262,7 +262,7 @@ struct linux_statfs_buf {
/*
* ext2fs uses the VT_UFS tag. A mounted ext2 filesystem will therefore
* be seen as an ufs/mfs filesystem.
* be seen as an ufs filesystem.
*/
static long
bsd_to_linux_ftype(int tag)

View File

@ -52,7 +52,6 @@ COMM= ${SYS}/conf/*.[ch] \
${SYS}/pci/*.[ch] \
${SYS}/posix4/*.[ch] \
${SYS}/ufs/ffs/*.[ch] \
${SYS}/ufs/mfs/*.[ch] \
${SYS}/ufs/ufs/*.[ch] \
${SYS}/vm/*.[ch] \
${SYS}/sys/*.[ch]
@ -103,5 +102,4 @@ COMMDIR2= ${SYS}/dev/advansys \
${SYS}/fs/unionfs \
${SYS}/isofs/cd9660 \
${SYS}/ufs/ffs \
${SYS}/ufs/mfs \
${SYS}/ufs/ufs

View File

@ -39,7 +39,7 @@ DGEN= conf \
hp hp/dev hp/hpux \
kern libkern \
net netccitt netinet netiso netns nfs scripts sys \
ufs ufs/ffs ufs/lfs ufs/mfs ufs/ufs \
ufs ufs/ffs ufs/lfs ufs/ufs \
vm
tags::

View File

@ -3,7 +3,7 @@
.PATH: ${.CURDIR}/../../dev/md
KMOD= md
SRCS= md.c opt_mfs.h opt_md.h vnode_if.h
SRCS= md.c opt_md.h vnode_if.h
NOMAN=
.include <bsd.kmod.mk>

View File

@ -2,7 +2,6 @@
# $FreeBSD$
PROG= mountd
CFLAGS+=-DNFS -DMFS -DCD9660 -DMSDOSFS
MAN= exports.5 netgroup.5 mountd.8
.include <bsd.prog.mk>

View File

@ -240,7 +240,7 @@ on
where
.Em fstype
is one of
.Em ufs , nfs , mfs , or pc ;
.Em ufs , nfs , or pc ;
.Em from
is the filesystem is mounted from;
.Em on

View File

@ -357,8 +357,7 @@ vnodemode()
maddr = vp->v_mount;
mount_print(mp);
vnode_header();
if (!strcmp(ST.f_fstypename, "ufs") ||
!strcmp(ST.f_fstypename, "mfs"))
if (!strcmp(ST.f_fstypename, "ufs"))
ufs_header();
else if (!strcmp(ST.f_fstypename, "nfs"))
nfs_header();
@ -367,8 +366,7 @@ vnodemode()
(void)printf("\n");
}
vnode_print(evp->avnode, vp);
if (!strcmp(ST.f_fstypename, "ufs") ||
!strcmp(ST.f_fstypename, "mfs"))
if (!strcmp(ST.f_fstypename, "ufs"))
ufs_print(vp);
else if (!strcmp(ST.f_fstypename, "nfs"))
nfs_print(vp);