Disconnect non-MPSAFE NWFS from the build in preparation for dropping
GIANT from VFS. In addition, disconnect also netncp, which is a base requirement for NWFS. In the possibility of a future maintenance of the code and later readd to the FreeBSD base, maybe we should think about a better location for netncp. I'm not entirely sure the / top location is actually right, however I will let network people to comment on that more specifically. This is not targeted for MFC.
This commit is contained in:
parent
f16dd753c4
commit
3f4806915e
@ -74,8 +74,6 @@ drm rnoland Just keep me informed of changes, try not to break it.
|
||||
unifdef(1) fanf Pre-commit review requested.
|
||||
ntp roberto Pre-commit review requested.
|
||||
inetd dwmalone Recommends pre-commit review.
|
||||
nwfs bp In case of functional changes pre-commit review
|
||||
requested.
|
||||
contrib/smbfs bp Open for in-tree committs. In case of functional
|
||||
changes pre-commit review requested.
|
||||
contrib/pf mlaier Pre-commit review requested.
|
||||
|
@ -92,7 +92,7 @@ fsck_y_enable="NO" # Set to YES to do fsck -y if the initial preen fails.
|
||||
fsck_y_flags="" # Additional flags for fsck -y
|
||||
background_fsck="YES" # Attempt to run fsck in the background where possible.
|
||||
background_fsck_delay="60" # Time to wait (seconds) before starting the fsck.
|
||||
netfs_types="nfs:NFS oldnfs:OLDNFS smbfs:SMB nwfs:NWFS" # Net filesystems.
|
||||
netfs_types="nfs:NFS oldnfs:OLDNFS smbfs:SMB" # Net filesystems.
|
||||
extra_netfs_types="NO" # List of network extra filesystem types for delayed
|
||||
# mount at startup (or NO).
|
||||
|
||||
|
@ -168,8 +168,6 @@
|
||||
..
|
||||
nullfs
|
||||
..
|
||||
nwfs
|
||||
..
|
||||
portalfs
|
||||
..
|
||||
procfs
|
||||
@ -287,8 +285,6 @@
|
||||
sig
|
||||
..
|
||||
..
|
||||
netncp
|
||||
..
|
||||
netsmb
|
||||
..
|
||||
nfs
|
||||
|
@ -281,8 +281,6 @@
|
||||
bluetooth
|
||||
..
|
||||
..
|
||||
nwclient
|
||||
..
|
||||
pc-sysinstall
|
||||
..
|
||||
perfmon
|
||||
|
@ -44,7 +44,7 @@ LSUBDIRS= cam/ata cam/scsi \
|
||||
dev/ofw dev/pbio ${_dev_powermac_nvram} dev/ppbus dev/smbus \
|
||||
dev/speaker dev/usb dev/utopia dev/vkbd dev/wi \
|
||||
fs/devfs fs/fdescfs fs/msdosfs fs/nandfs fs/nfs fs/ntfs fs/nullfs \
|
||||
${_fs_nwfs} fs/procfs fs/smbfs fs/udf fs/unionfs \
|
||||
fs/procfs fs/smbfs fs/udf fs/unionfs \
|
||||
geom/cache geom/concat geom/eli geom/gate geom/journal geom/label \
|
||||
geom/mirror geom/mountver geom/multipath geom/nop \
|
||||
geom/raid geom/raid3 geom/shsec geom/stripe geom/virstor \
|
||||
@ -81,11 +81,6 @@ LSUBSUBDIRS+= netgraph/bluetooth/include
|
||||
_netipx= netipx
|
||||
#.endif
|
||||
|
||||
.if ${MK_NCP} != "no"
|
||||
_netncp= netncp
|
||||
_fs_nwfs= fs/nwfs
|
||||
.endif
|
||||
|
||||
# Define SHARED to indicate whether you want symbolic links to the system
|
||||
# source (``symlinks''), or a separate copy (``copies''). ``symlinks'' is
|
||||
# probably only useful for developers and should be avoided if you do not
|
||||
|
@ -89,7 +89,6 @@ SUBDIR= ${SUBDIR_ORDERED} \
|
||||
${_libmilter} \
|
||||
${_libmp} \
|
||||
${_libnandfs} \
|
||||
${_libncp} \
|
||||
${_libngatm} \
|
||||
libopie \
|
||||
libpam \
|
||||
@ -189,9 +188,6 @@ _libypclnt= libypclnt
|
||||
.endif
|
||||
|
||||
.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64"
|
||||
.if ${MK_NCP} != "no"
|
||||
_libncp= libncp
|
||||
.endif
|
||||
_libsmb= libsmb
|
||||
_libvgl= libvgl
|
||||
_libproc= libproc
|
||||
|
@ -24,11 +24,6 @@ LDADD= -lkvm -lutil
|
||||
|
||||
MAN= libprocstat.3
|
||||
|
||||
.if ${MK_NCP} != "no"
|
||||
CFLAGS+= -DLIBPROCSTAT_NWFS
|
||||
SRCS+= nwfs.c
|
||||
.endif
|
||||
|
||||
# XXX This is a hack.
|
||||
.if ${MK_CDDL} != "no"
|
||||
CFLAGS+= -DLIBPROCSTAT_ZFS
|
||||
|
@ -42,7 +42,6 @@ int isofs_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn);
|
||||
int msdosfs_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn);
|
||||
int nfs_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn);
|
||||
int ntfs_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn);
|
||||
int nwfs_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn);
|
||||
int smbfs_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn);
|
||||
int udf_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn);
|
||||
int ufs_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn);
|
||||
|
@ -974,9 +974,6 @@ procstat_get_vnode_info_kvm(kvm_t *kd, struct filestat *fst,
|
||||
FSTYPE(msdosfs),
|
||||
FSTYPE(nfs),
|
||||
FSTYPE(ntfs),
|
||||
#ifdef LIBPROCSTAT_NWFS
|
||||
FSTYPE(nwfs),
|
||||
#endif
|
||||
FSTYPE(smbfs),
|
||||
FSTYPE(udf),
|
||||
FSTYPE(ufs),
|
||||
|
@ -130,10 +130,6 @@ CRUNCH_LIBS+= -lgeom -lbsdxml -lkiconv -lmd -lsbuf -lufs -lz
|
||||
.if ${MACHINE_CPUARCH} == "i386"
|
||||
CRUNCH_PROGS_sbin+= bsdlabel sconfig fdisk
|
||||
CRUNCH_ALIAS_bsdlabel= disklabel
|
||||
#.if ${MK_NCP} != "no"
|
||||
#CRUNCH_PROGS+= mount_nwfs
|
||||
#CRUNCH_LIBS+= -lncp
|
||||
#.endif
|
||||
#CRUNCH_PROGS+= mount_smbfs
|
||||
#CRUNCH_LIBS+= -lsmb
|
||||
.endif
|
||||
|
@ -447,7 +447,6 @@ However, for the following file system types:
|
||||
.Cm msdosfs ,
|
||||
.Cm nfs ,
|
||||
.Cm ntfs ,
|
||||
.Cm nwfs ,
|
||||
.Cm nullfs ,
|
||||
.Cm oldnfs ,
|
||||
.Cm smbfs ,
|
||||
@ -546,7 +545,6 @@ support for a particular file system might be provided either on a static
|
||||
.Xr mount_nfs 8 ,
|
||||
.Xr mount_ntfs 8 ,
|
||||
.Xr mount_nullfs 8 ,
|
||||
.Xr mount_nwfs 8 ,
|
||||
.Xr mount_smbfs 8 ,
|
||||
.Xr mount_udf 8 ,
|
||||
.Xr mount_unionfs 8 ,
|
||||
|
@ -143,7 +143,7 @@ use_mountprog(const char *vfstype)
|
||||
unsigned int i;
|
||||
const char *fs[] = {
|
||||
"cd9660", "mfs", "msdosfs", "nfs", "ntfs",
|
||||
"nwfs", "nullfs", "oldnfs", "smbfs", "udf", "unionfs",
|
||||
"nullfs", "oldnfs", "smbfs", "udf", "unionfs",
|
||||
NULL
|
||||
};
|
||||
|
||||
|
@ -24,7 +24,6 @@ LDIRS= BSD_daemon \
|
||||
libvgl \
|
||||
mdoc \
|
||||
netgraph \
|
||||
nwclient \
|
||||
perfmon \
|
||||
ppi \
|
||||
ppp \
|
||||
@ -129,8 +128,6 @@ XFILES= BSD_daemon/FreeBSD.pfa \
|
||||
netgraph/udp.tunnel \
|
||||
netgraph/virtual.chain \
|
||||
netgraph/virtual.lan \
|
||||
nwclient/dot.nwfsrc \
|
||||
nwclient/nwfs.sh.sample \
|
||||
perfmon/Makefile \
|
||||
perfmon/README \
|
||||
perfmon/perfmon.c \
|
||||
|
@ -547,8 +547,6 @@ When set, it also enforces the following options:
|
||||
.Bl -item -compact
|
||||
.It
|
||||
.Va WITHOUT_IPX_SUPPORT
|
||||
.It
|
||||
.Va WITHOUT_NCP
|
||||
.El
|
||||
.It Va WITHOUT_IPX_SUPPORT
|
||||
.\" from FreeBSD: head/tools/build/options/WITHOUT_IPX_SUPPORT 156932 2006-03-21 07:50:50Z ru
|
||||
|
@ -256,8 +256,6 @@ C include files for NFS (Network File System) version 2, 3 and 4
|
||||
NTFS file system
|
||||
.It Pa nullfs/
|
||||
loopback file system
|
||||
.It Pa nwfs/
|
||||
NetWare file system
|
||||
.It Pa procfs/
|
||||
process file system
|
||||
.It Pa smbfs/
|
||||
|
@ -97,9 +97,6 @@ LIBMENU?= ${DESTDIR}${LIBDIR}/libmenu.a
|
||||
LIBMILTER?= ${DESTDIR}${LIBDIR}/libmilter.a
|
||||
.endif
|
||||
LIBMP?= ${DESTDIR}${LIBDIR}/libmp.a
|
||||
.if ${MK_NCP} != "no"
|
||||
LIBNCP?= ${DESTDIR}${LIBDIR}/libncp.a
|
||||
.endif
|
||||
LIBNCURSES?= ${DESTDIR}${LIBDIR}/libncurses.a
|
||||
LIBNCURSESW?= ${DESTDIR}${LIBDIR}/libncursesw.a
|
||||
LIBNETGRAPH?= ${DESTDIR}${LIBDIR}/libnetgraph.a
|
||||
|
@ -374,7 +374,6 @@ __DEFAULT_YES_OPTIONS = \
|
||||
MAILWRAPPER \
|
||||
MAKE \
|
||||
MAN \
|
||||
NCP \
|
||||
NDIS \
|
||||
NETCAT \
|
||||
NETGRAPH \
|
||||
@ -550,10 +549,6 @@ MK_CLANG:= no
|
||||
MK_GROFF:= no
|
||||
.endif
|
||||
|
||||
.if ${MK_IPX} == "no"
|
||||
MK_NCP:= no
|
||||
.endif
|
||||
|
||||
.if ${MK_MAIL} == "no"
|
||||
MK_MAILWRAPPER:= no
|
||||
MK_SENDMAIL:= no
|
||||
|
@ -570,8 +570,6 @@ options IPSEC_NAT_T #NAT-T support, UDP encap of ESP
|
||||
|
||||
options IPX #IPX/SPX communications protocols
|
||||
|
||||
options NCP #NetWare Core protocol
|
||||
|
||||
options NETATALK #Appletalk communications protocols
|
||||
options NETATALKDEBUG #Appletalk debugging
|
||||
|
||||
@ -1014,8 +1012,6 @@ options KGSSAPI #Kernel GSSAPI implementation
|
||||
options NTFS
|
||||
|
||||
options NULLFS #NULL filesystem
|
||||
# Broken (depends on NCP):
|
||||
#options NWFS #NetWare filesystem
|
||||
options PROCFS #Process filesystem (requires PSEUDOFS)
|
||||
options PSEUDOFS #Pseudo-filesystem framework
|
||||
options PSEUDOFS_TRACE #Debugging support for PSEUDOFS
|
||||
|
@ -2375,12 +2375,6 @@ fs/ntfs/ntfs_vnops.c optional ntfs
|
||||
fs/nullfs/null_subr.c optional nullfs
|
||||
fs/nullfs/null_vfsops.c optional nullfs
|
||||
fs/nullfs/null_vnops.c optional nullfs
|
||||
fs/nwfs/nwfs_io.c optional nwfs
|
||||
fs/nwfs/nwfs_ioctl.c optional nwfs
|
||||
fs/nwfs/nwfs_node.c optional nwfs
|
||||
fs/nwfs/nwfs_subr.c optional nwfs
|
||||
fs/nwfs/nwfs_vfsops.c optional nwfs
|
||||
fs/nwfs/nwfs_vnops.c optional nwfs
|
||||
fs/procfs/procfs.c optional procfs
|
||||
fs/procfs/procfs_ctl.c optional procfs
|
||||
fs/procfs/procfs_dbregs.c optional procfs
|
||||
@ -3141,15 +3135,6 @@ netipx/spx_usrreq.c optional ipx
|
||||
netnatm/natm.c optional natm
|
||||
netnatm/natm_pcb.c optional natm
|
||||
netnatm/natm_proto.c optional natm
|
||||
netncp/ncp_conn.c optional ncp
|
||||
netncp/ncp_crypt.c optional ncp
|
||||
netncp/ncp_login.c optional ncp
|
||||
netncp/ncp_mod.c optional ncp
|
||||
netncp/ncp_ncp.c optional ncp
|
||||
netncp/ncp_nls.c optional ncp
|
||||
netncp/ncp_rq.c optional ncp
|
||||
netncp/ncp_sock.c optional ncp
|
||||
netncp/ncp_subr.c optional ncp
|
||||
netpfil/ipfw/dn_heap.c optional inet dummynet
|
||||
netpfil/ipfw/dn_sched_fifo.c optional inet dummynet
|
||||
netpfil/ipfw/dn_sched_prio.c optional inet dummynet
|
||||
|
@ -214,7 +214,6 @@ MSDOSFS opt_dontuse.h
|
||||
NANDFS opt_dontuse.h
|
||||
NTFS opt_dontuse.h
|
||||
NULLFS opt_dontuse.h
|
||||
NWFS opt_dontuse.h
|
||||
PROCFS opt_dontuse.h
|
||||
PSEUDOFS opt_dontuse.h
|
||||
REISERFS opt_dontuse.h
|
||||
@ -423,7 +422,6 @@ LIBMCHAIN
|
||||
MBUF_PROFILING
|
||||
MBUF_STRESS_TEST
|
||||
MROUTING opt_mrouting.h
|
||||
NCP
|
||||
NETATALK opt_atalk.h
|
||||
NFSLOCKD
|
||||
PCBGROUP opt_pcbgroup.h
|
||||
|
@ -30,7 +30,6 @@ COMM= ${SYS}/dev/advansys/*.[ch] \
|
||||
${SYS}/fs/msdosfs/*.[ch] \
|
||||
${SYS}/fs/ntfs/*.[ch] \
|
||||
${SYS}/fs/nullfs/*.[ch] \
|
||||
${SYS}/fs/nwfs/*.[ch] \
|
||||
${SYS}/fs/procfs/*.[ch] \
|
||||
${SYS}/fs/smbfs/*.[ch] \
|
||||
${SYS}/fs/udf/*.[ch] \
|
||||
|
@ -247,7 +247,6 @@ SUBDIR= \
|
||||
${_nve} \
|
||||
${_nvme} \
|
||||
${_nvram} \
|
||||
${_nwfs} \
|
||||
${_nxge} \
|
||||
${_opensolaris} \
|
||||
oce \
|
||||
@ -504,15 +503,9 @@ _mlx4ib= mlx4ib
|
||||
_mlxen= mlxen
|
||||
_mthca= mthca
|
||||
.endif
|
||||
.if ${MK_NCP} != "no"
|
||||
_ncp= ncp
|
||||
.endif
|
||||
_ncv= ncv
|
||||
_ndis= ndis
|
||||
_nsp= nsp
|
||||
.if ${MK_NCP} != "no"
|
||||
_nwfs= nwfs
|
||||
.endif
|
||||
.if ${MK_CDDL} != "no" || defined(ALL_MODULES)
|
||||
_opensolaris= opensolaris
|
||||
.endif
|
||||
|
@ -1,7 +1,3 @@
|
||||
# $FreeBSD$
|
||||
|
||||
.if ${MK_NCP} != "no"
|
||||
SUBDIR+= ncplist
|
||||
SUBDIR+= ncplogin
|
||||
.endif
|
||||
SUBDIR+= smbutil
|
||||
|
@ -1,7 +1,3 @@
|
||||
# $FreeBSD$
|
||||
|
||||
.if ${MK_NCP} != "no"
|
||||
SUBDIR+= ncplist
|
||||
SUBDIR+= ncplogin
|
||||
.endif
|
||||
SUBDIR+= smbutil
|
||||
|
@ -17,9 +17,6 @@ SUBDIR+= btxld
|
||||
SUBDIR+= cpucontrol
|
||||
SUBDIR+= kgmon
|
||||
SUBDIR+= lptcontrol
|
||||
.if ${MK_NCP} != "no"
|
||||
SUBDIR+= mount_nwfs
|
||||
.endif
|
||||
SUBDIR+= mount_smbfs
|
||||
SUBDIR+= mptable
|
||||
.if ${MK_NDIS} != "no"
|
||||
|
@ -12,9 +12,6 @@ SUBDIR+= cpucontrol
|
||||
SUBDIR+= kgmon
|
||||
SUBDIR+= kgzip
|
||||
SUBDIR+= lptcontrol
|
||||
.if ${MK_NCP} != "no"
|
||||
SUBDIR+= mount_nwfs
|
||||
.endif
|
||||
SUBDIR+= mount_smbfs
|
||||
SUBDIR+= mptable
|
||||
.if ${MK_NDIS} != "no"
|
||||
|
Loading…
x
Reference in New Issue
Block a user