Remove vestiges of MFS.
This commit is contained in:
parent
64dddc1872
commit
0b381bf1fd
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=77575
@ -122,13 +122,13 @@ For example, the
|
|||||||
.Nm
|
.Nm
|
||||||
command:
|
command:
|
||||||
.Bd -literal -offset indent
|
.Bd -literal -offset indent
|
||||||
df -t nonfs,mfs
|
df -t nonfs,nullfs
|
||||||
.Ed
|
.Ed
|
||||||
.Pp
|
.Pp
|
||||||
lists all filesystems except those of type
|
lists all filesystems except those of type
|
||||||
.Tn NFS
|
.Tn NFS
|
||||||
and
|
and
|
||||||
.Tn MFS .
|
.Tn NULLFS .
|
||||||
The
|
The
|
||||||
.Xr lsvfs 1
|
.Xr lsvfs 1
|
||||||
command can be used to find out the types of filesystems
|
command can be used to find out the types of filesystems
|
||||||
|
@ -114,7 +114,6 @@ daily_status_security_enable="YES" # Security check
|
|||||||
daily_status_security_inline="NO" # Run inline ?
|
daily_status_security_inline="NO" # Run inline ?
|
||||||
daily_status_security_output="root" # user or /file
|
daily_status_security_output="root" # user or /file
|
||||||
daily_status_security_noamd="NO" # Don't check amd mounts
|
daily_status_security_noamd="NO" # Don't check amd mounts
|
||||||
daily_status_security_nomfs="NO" # Don't check mfs mounts
|
|
||||||
|
|
||||||
# 460.status-mail-rejects
|
# 460.status-mail-rejects
|
||||||
daily_status_mail_rejects_enable="YES" # Check mail rejects
|
daily_status_mail_rejects_enable="YES" # Check mail rejects
|
||||||
|
@ -106,8 +106,6 @@
|
|||||||
ufs
|
ufs
|
||||||
ffs
|
ffs
|
||||||
..
|
..
|
||||||
mfs
|
|
||||||
..
|
|
||||||
ufs
|
ufs
|
||||||
..
|
..
|
||||||
..
|
..
|
||||||
|
@ -23,11 +23,6 @@ case "$daily_status_security_enable" in
|
|||||||
args=;;
|
args=;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
case "$daily_status_security_nomfs" in
|
|
||||||
[Yy][Ee][Ss])
|
|
||||||
args="$args -m";;
|
|
||||||
esac
|
|
||||||
|
|
||||||
case "$daily_status_security_inline" in
|
case "$daily_status_security_inline" in
|
||||||
[Yy][Ee][Ss])
|
[Yy][Ee][Ss])
|
||||||
sh /etc/security -s $args
|
sh /etc/security -s $args
|
||||||
|
@ -55,7 +55,7 @@ mount_md()
|
|||||||
/sbin/mount /dev/md$3c $2
|
/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
|
mount_md ${varsize:=65536} /var 1
|
||||||
if [ -r /etc/rc.subr ]; then
|
if [ -r /etc/rc.subr ]; then
|
||||||
. /etc/rc.subr
|
. /etc/rc.subr
|
||||||
|
@ -55,7 +55,7 @@ mount_md()
|
|||||||
/sbin/mount /dev/md$3c $2
|
/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
|
mount_md ${varsize:=65536} /var 1
|
||||||
if [ -r /etc/rc.subr ]; then
|
if [ -r /etc/rc.subr ]; then
|
||||||
. /etc/rc.subr
|
. /etc/rc.subr
|
||||||
|
@ -55,7 +55,7 @@ mount_md()
|
|||||||
/sbin/mount /dev/md$3c $2
|
/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
|
mount_md ${varsize:=65536} /var 1
|
||||||
if [ -r /etc/rc.subr ]; then
|
if [ -r /etc/rc.subr ]; then
|
||||||
. /etc/rc.subr
|
. /etc/rc.subr
|
||||||
|
@ -55,7 +55,7 @@ mount_md()
|
|||||||
/sbin/mount /dev/md$3c $2
|
/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
|
mount_md ${varsize:=65536} /var 1
|
||||||
if [ -r /etc/rc.subr ]; then
|
if [ -r /etc/rc.subr ]; then
|
||||||
. /etc/rc.subr
|
. /etc/rc.subr
|
||||||
|
@ -55,7 +55,7 @@ elif [ -r /etc/rc.conf ]; then
|
|||||||
. /etc/rc.conf
|
. /etc/rc.conf
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "+++ mfs_mount of /var"
|
echo "+++ mount_md of /var"
|
||||||
mount_md ${varsize:=65536} /var 1
|
mount_md ${varsize:=65536} /var 1
|
||||||
|
|
||||||
echo "+++ populate /var using /etc/mtree/BSD.var.dist"
|
echo "+++ populate /var using /etc/mtree/BSD.var.dist"
|
||||||
|
@ -47,11 +47,10 @@ catmsgs() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
sflag=FALSE ignore=
|
sflag=FALSE ignore=
|
||||||
while getopts ams c
|
while getopts as c
|
||||||
do
|
do
|
||||||
case "$c" in
|
case "$c" in
|
||||||
a) ignore="$ignore|^amd:";;
|
a) ignore="$ignore|^amd:";;
|
||||||
m) ignore="$ignore|^mfs:";;
|
|
||||||
s) sflag=TRUE;;
|
s) sflag=TRUE;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
@ -110,8 +110,9 @@ defined in
|
|||||||
The
|
The
|
||||||
.Fx
|
.Fx
|
||||||
VM system totally ignores the sticky bit
|
VM system totally ignores the sticky bit
|
||||||
.Pf ( Dv ISVTX
|
.Pq Dv ISVTX
|
||||||
) for executables. On UFS-based filesystems (FFS, MFS, LFS) the sticky
|
for executables.
|
||||||
|
On UFS-based filesystems (FFS, LFS) the sticky
|
||||||
bit may only be set upon directories.
|
bit may only be set upon directories.
|
||||||
.Pp
|
.Pp
|
||||||
If mode
|
If mode
|
||||||
|
@ -260,26 +260,6 @@ Some part of the information described by nfs_args
|
|||||||
points outside the process's allocated address space.
|
points outside the process's allocated address space.
|
||||||
.El
|
.El
|
||||||
.Pp
|
.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
|
The
|
||||||
.Fn unmount
|
.Fn unmount
|
||||||
function may fail with one of the following errors:
|
function may fail with one of the following errors:
|
||||||
@ -307,13 +287,10 @@ points outside the process's allocated address space.
|
|||||||
.Pp
|
.Pp
|
||||||
A
|
A
|
||||||
.Em ufs
|
.Em ufs
|
||||||
or
|
|
||||||
.Em mfs
|
|
||||||
mount can also fail if the maximum number of filesystems are currently
|
mount can also fail if the maximum number of filesystems are currently
|
||||||
mounted.
|
mounted.
|
||||||
.Sh SEE ALSO
|
.Sh SEE ALSO
|
||||||
.Xr lsvfs 1 ,
|
.Xr lsvfs 1 ,
|
||||||
.Xr mfs 8 ,
|
|
||||||
.Xr mount 8 ,
|
.Xr mount 8 ,
|
||||||
.Xr umount 8
|
.Xr umount 8
|
||||||
.Sh BUGS
|
.Sh BUGS
|
||||||
|
@ -224,14 +224,14 @@ For example, the
|
|||||||
.Nm
|
.Nm
|
||||||
command:
|
command:
|
||||||
.Bd -literal -offset indent
|
.Bd -literal -offset indent
|
||||||
mount -t mfs -o nosuid,-N,-s=4000 /dev/dk0b /tmp
|
mount -t unionfs -o -b /sys $HOME/sys
|
||||||
.Ed
|
.Ed
|
||||||
.Pp
|
.Pp
|
||||||
causes
|
causes
|
||||||
.Nm
|
.Nm
|
||||||
to execute the equivalent of:
|
to execute the equivalent of:
|
||||||
.Bd -literal -offset indent
|
.Bd -literal -offset indent
|
||||||
/sbin/mount_mfs -o nosuid -N -s 4000 /dev/dk0b /tmp
|
/sbin/mount_unionfs -b /sys $HOME/sys
|
||||||
.Ed
|
.Ed
|
||||||
.Pp
|
.Pp
|
||||||
Additional options specific to filesystem types
|
Additional options specific to filesystem types
|
||||||
@ -279,13 +279,13 @@ For example, the
|
|||||||
.Nm
|
.Nm
|
||||||
command:
|
command:
|
||||||
.Bd -literal -offset indent
|
.Bd -literal -offset indent
|
||||||
mount -a -t nonfs,mfs
|
mount -a -t nonfs,nullfs
|
||||||
.Ed
|
.Ed
|
||||||
.Pp
|
.Pp
|
||||||
mounts all filesystems except those of type
|
mounts all filesystems except those of type
|
||||||
.Tn NFS
|
.Tn NFS
|
||||||
and
|
and
|
||||||
.Tn MFS .
|
.Tn NULLFS .
|
||||||
.Pp
|
.Pp
|
||||||
If the type is not one of the internally known types,
|
If the type is not one of the internally known types,
|
||||||
.Nm
|
.Nm
|
||||||
@ -374,7 +374,6 @@ file system table
|
|||||||
.Xr mount_fdescfs 8 ,
|
.Xr mount_fdescfs 8 ,
|
||||||
.Xr mount_hpfs 8 ,
|
.Xr mount_hpfs 8 ,
|
||||||
.Xr mount_linprocfs 8 ,
|
.Xr mount_linprocfs 8 ,
|
||||||
.Xr mount_mfs 8 ,
|
|
||||||
.Xr mount_msdos 8 ,
|
.Xr mount_msdos 8 ,
|
||||||
.Xr mount_nfs 8 ,
|
.Xr mount_nfs 8 ,
|
||||||
.Xr mount_ntfs 8 ,
|
.Xr mount_ntfs 8 ,
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
PROG= mountd
|
PROG= mountd
|
||||||
CFLAGS+=-DNFS -DMFS -DCD9660 -DMSDOSFS
|
|
||||||
MAN= exports.5 netgroup.5 mountd.8
|
MAN= exports.5 netgroup.5 mountd.8
|
||||||
|
|
||||||
.include <bsd.prog.mk>
|
.include <bsd.prog.mk>
|
||||||
|
@ -102,13 +102,13 @@ For example, the
|
|||||||
.Nm
|
.Nm
|
||||||
command:
|
command:
|
||||||
.Bd -literal -offset indent
|
.Bd -literal -offset indent
|
||||||
umount -a -t nfs,mfs
|
umount -a -t nfs,nullfs
|
||||||
.Ed
|
.Ed
|
||||||
.Pp
|
.Pp
|
||||||
unmounts all filesystems of the type
|
unmounts all filesystems of the type
|
||||||
.Tn NFS
|
.Tn NFS
|
||||||
and
|
and
|
||||||
.Tn MFS
|
.Tn NULLFS
|
||||||
that are listed in the
|
that are listed in the
|
||||||
.Xr fstab 5
|
.Xr fstab 5
|
||||||
file.
|
file.
|
||||||
|
@ -142,20 +142,6 @@ Marc Teitelbaum, Keith Bostic.
|
|||||||
.sp
|
.sp
|
||||||
Revised February 2, 1989.
|
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
|
.sp
|
||||||
.IP
|
.IP
|
||||||
.tl '\fBFilesystem Interface''fsinterface\fP'
|
.tl '\fBFilesystem Interface''fsinterface\fP'
|
||||||
|
@ -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>
|
|
@ -86,7 +86,7 @@ The system can support various filesystem types.
|
|||||||
Only the root, /usr, and /tmp filesystems need be statically
|
Only the root, /usr, and /tmp filesystems need be statically
|
||||||
compiled into the kernel;
|
compiled into the kernel;
|
||||||
everything else will be automatically loaded at mount
|
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
|
currently be demand-loaded.) Some people still prefer to statically
|
||||||
compile other filesystems as well.
|
compile other filesystems as well.
|
||||||
.Bl -tag -width indent -offset indent
|
.Bl -tag -width indent -offset indent
|
||||||
@ -94,10 +94,6 @@ compile other filesystems as well.
|
|||||||
a local
|
a local
|
||||||
.Tn UNIX
|
.Tn UNIX
|
||||||
filesystem
|
filesystem
|
||||||
.It Em mfs
|
|
||||||
a local memory-based
|
|
||||||
.Tn UNIX
|
|
||||||
filesystem
|
|
||||||
.It Em nfs
|
.It Em nfs
|
||||||
a Sun Microsystems compatible ``Network File System''
|
a Sun Microsystems compatible ``Network File System''
|
||||||
.It Em swap
|
.It Em swap
|
||||||
|
@ -445,13 +445,6 @@ Set to
|
|||||||
if you want to ignore
|
if you want to ignore
|
||||||
.Xr amd 8
|
.Xr amd 8
|
||||||
mounts when comparing against yesterdays filesystem mounts.
|
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
|
.It Va daily_status_mail_rejects_enable
|
||||||
.Pq Vt bool
|
.Pq Vt bool
|
||||||
Set to
|
Set to
|
||||||
@ -616,7 +609,6 @@ is shared or distributed.
|
|||||||
.Xr ac 8 ,
|
.Xr ac 8 ,
|
||||||
.Xr chkgrp 8 ,
|
.Xr chkgrp 8 ,
|
||||||
.Xr dump 8 ,
|
.Xr dump 8 ,
|
||||||
.Xr mfs 8 ,
|
|
||||||
.Xr newsyslog 8 ,
|
.Xr newsyslog 8 ,
|
||||||
.Xr periodic 8
|
.Xr periodic 8
|
||||||
.Sh HISTORY
|
.Sh HISTORY
|
||||||
|
@ -294,10 +294,6 @@ C include files for UFS (The U-word File System)
|
|||||||
.Bl -tag -width "kerberosIV/" -compact
|
.Bl -tag -width "kerberosIV/" -compact
|
||||||
.It Pa ffs/
|
.It Pa ffs/
|
||||||
Fast filesystem
|
Fast filesystem
|
||||||
.It Pa mfs/
|
|
||||||
memory file system;
|
|
||||||
see
|
|
||||||
.Xr mount_mfs 8
|
|
||||||
.It Pa ufs/
|
.It Pa ufs/
|
||||||
UFS filesystem
|
UFS filesystem
|
||||||
.El
|
.El
|
||||||
|
@ -50,7 +50,7 @@ enum vtype { VNON, VREG, VDIR, VBLK, VCHR, VLNK, VSOCK, VFIFO, VBAD };
|
|||||||
* and should NEVER be inspected by the kernel.
|
* and should NEVER be inspected by the kernel.
|
||||||
*/
|
*/
|
||||||
enum vtagtype {
|
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_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_UNION, VT_MSDOSFS, VT_DEVFS, VT_TFS, VT_VFS, VT_CODA, VT_NTFS,
|
||||||
VT_HPFS, VT_NWFS, VT_PSEUDOFS
|
VT_HPFS, VT_NWFS, VT_PSEUDOFS
|
||||||
|
@ -88,7 +88,6 @@ module_path="/boot/kernel;/boot/modules;/modules" # Set the module search path
|
|||||||
cd9660_load="NO" # ISO 9660 filesystem
|
cd9660_load="NO" # ISO 9660 filesystem
|
||||||
coda_load="NO" # CODA filesystem
|
coda_load="NO" # CODA filesystem
|
||||||
fdescfs_load="NO" # Filedescriptors filesystem
|
fdescfs_load="NO" # Filedescriptors filesystem
|
||||||
mfs_load="NO" # Memory filesystem
|
|
||||||
msdosfs_load="NO" # FAT-12/16/32
|
msdosfs_load="NO" # FAT-12/16/32
|
||||||
nfs_load="NO" # NFS
|
nfs_load="NO" # NFS
|
||||||
ntfs_load="NO" # NTFS
|
ntfs_load="NO" # NTFS
|
||||||
|
@ -262,7 +262,7 @@ struct linux_statfs_buf {
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* ext2fs uses the VT_UFS tag. A mounted ext2 filesystem will therefore
|
* 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
|
static long
|
||||||
bsd_to_linux_ftype(int tag)
|
bsd_to_linux_ftype(int tag)
|
||||||
|
@ -52,7 +52,6 @@ COMM= ${SYS}/conf/*.[ch] \
|
|||||||
${SYS}/pci/*.[ch] \
|
${SYS}/pci/*.[ch] \
|
||||||
${SYS}/posix4/*.[ch] \
|
${SYS}/posix4/*.[ch] \
|
||||||
${SYS}/ufs/ffs/*.[ch] \
|
${SYS}/ufs/ffs/*.[ch] \
|
||||||
${SYS}/ufs/mfs/*.[ch] \
|
|
||||||
${SYS}/ufs/ufs/*.[ch] \
|
${SYS}/ufs/ufs/*.[ch] \
|
||||||
${SYS}/vm/*.[ch] \
|
${SYS}/vm/*.[ch] \
|
||||||
${SYS}/sys/*.[ch]
|
${SYS}/sys/*.[ch]
|
||||||
@ -103,5 +102,4 @@ COMMDIR2= ${SYS}/dev/advansys \
|
|||||||
${SYS}/fs/unionfs \
|
${SYS}/fs/unionfs \
|
||||||
${SYS}/isofs/cd9660 \
|
${SYS}/isofs/cd9660 \
|
||||||
${SYS}/ufs/ffs \
|
${SYS}/ufs/ffs \
|
||||||
${SYS}/ufs/mfs \
|
|
||||||
${SYS}/ufs/ufs
|
${SYS}/ufs/ufs
|
||||||
|
@ -39,7 +39,7 @@ DGEN= conf \
|
|||||||
hp hp/dev hp/hpux \
|
hp hp/dev hp/hpux \
|
||||||
kern libkern \
|
kern libkern \
|
||||||
net netccitt netinet netiso netns nfs scripts sys \
|
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
|
vm
|
||||||
|
|
||||||
tags::
|
tags::
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
.PATH: ${.CURDIR}/../../dev/md
|
.PATH: ${.CURDIR}/../../dev/md
|
||||||
|
|
||||||
KMOD= 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=
|
NOMAN=
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
PROG= mountd
|
PROG= mountd
|
||||||
CFLAGS+=-DNFS -DMFS -DCD9660 -DMSDOSFS
|
|
||||||
MAN= exports.5 netgroup.5 mountd.8
|
MAN= exports.5 netgroup.5 mountd.8
|
||||||
|
|
||||||
.include <bsd.prog.mk>
|
.include <bsd.prog.mk>
|
||||||
|
@ -240,7 +240,7 @@ on
|
|||||||
where
|
where
|
||||||
.Em fstype
|
.Em fstype
|
||||||
is one of
|
is one of
|
||||||
.Em ufs , nfs , mfs , or pc ;
|
.Em ufs , nfs , or pc ;
|
||||||
.Em from
|
.Em from
|
||||||
is the filesystem is mounted from;
|
is the filesystem is mounted from;
|
||||||
.Em on
|
.Em on
|
||||||
|
@ -357,8 +357,7 @@ vnodemode()
|
|||||||
maddr = vp->v_mount;
|
maddr = vp->v_mount;
|
||||||
mount_print(mp);
|
mount_print(mp);
|
||||||
vnode_header();
|
vnode_header();
|
||||||
if (!strcmp(ST.f_fstypename, "ufs") ||
|
if (!strcmp(ST.f_fstypename, "ufs"))
|
||||||
!strcmp(ST.f_fstypename, "mfs"))
|
|
||||||
ufs_header();
|
ufs_header();
|
||||||
else if (!strcmp(ST.f_fstypename, "nfs"))
|
else if (!strcmp(ST.f_fstypename, "nfs"))
|
||||||
nfs_header();
|
nfs_header();
|
||||||
@ -367,8 +366,7 @@ vnodemode()
|
|||||||
(void)printf("\n");
|
(void)printf("\n");
|
||||||
}
|
}
|
||||||
vnode_print(evp->avnode, vp);
|
vnode_print(evp->avnode, vp);
|
||||||
if (!strcmp(ST.f_fstypename, "ufs") ||
|
if (!strcmp(ST.f_fstypename, "ufs"))
|
||||||
!strcmp(ST.f_fstypename, "mfs"))
|
|
||||||
ufs_print(vp);
|
ufs_print(vp);
|
||||||
else if (!strcmp(ST.f_fstypename, "nfs"))
|
else if (!strcmp(ST.f_fstypename, "nfs"))
|
||||||
nfs_print(vp);
|
nfs_print(vp);
|
||||||
|
Loading…
Reference in New Issue
Block a user