Disconnect non-MPSAFE NTFS from the build in preparation for dropping

GIANT from VFS. This code is particulary broken and fragile and other
in-kernel implementations around, found in other operating systems,
don't really seem clean and solid enough to be imported at all.
If someone wants to reconsider in-kernel NTFS implementation for
inclusion again, a fair effort for completely fixing and cleaning it
up is expected.

In the while NTFS regular users can use FUSE interface and ntfs-3g
port to work with their NTFS partitions.

This is not targeted for MFC.
This commit is contained in:
Attilio Rao 2012-10-17 11:30:00 +00:00
parent e6116d5b8e
commit a42ac676f5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=241636
21 changed files with 3 additions and 38 deletions

View file

@ -164,8 +164,6 @@
..
nfs
..
ntfs
..
nullfs
..
portalfs

View file

@ -43,7 +43,7 @@ LSUBDIRS= cam/ata cam/scsi \
dev/ic dev/iicbus ${_dev_ieee488} dev/io dev/lmc dev/mfi dev/nvme \
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/devfs fs/fdescfs fs/msdosfs fs/nandfs fs/nfs fs/nullfs \
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 \

View file

@ -8,7 +8,6 @@ SRCS= cd9660.c \
common_kvm.c \
libprocstat.c \
msdosfs.c \
ntfs.c \
smbfs.c \
udf.c

View file

@ -41,7 +41,6 @@ int devfs_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn);
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 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);

View file

@ -973,7 +973,6 @@ procstat_get_vnode_info_kvm(kvm_t *kd, struct filestat *fst,
FSTYPE(isofs),
FSTYPE(msdosfs),
FSTYPE(nfs),
FSTYPE(ntfs),
FSTYPE(smbfs),
FSTYPE(udf),
FSTYPE(ufs),

View file

@ -93,7 +93,7 @@ CRUNCH_PROGS_sbin= atacontrol badsect \
fsirand gbde geom ifconfig init \
kldconfig kldload kldstat kldunload ldconfig \
md5 mdconfig mdmfs mknod mount mount_cd9660 \
mount_msdosfs mount_nfs mount_ntfs mount_nullfs \
mount_msdosfs mount_nfs mount_nullfs \
mount_udf mount_unionfs newfs \
newfs_msdos nos-tun ping reboot \
restore rcorder route routed rtquery rtsol savecore \

View file

@ -52,7 +52,6 @@ SUBDIR=adjkerntz \
mount_fusefs \
mount_msdosfs \
mount_nfs \
mount_ntfs \
mount_nullfs \
mount_udf \
mount_unionfs \

View file

@ -446,7 +446,6 @@ However, for the following file system types:
.Cm mfs ,
.Cm msdosfs ,
.Cm nfs ,
.Cm ntfs ,
.Cm nullfs ,
.Cm oldnfs ,
.Cm smbfs ,
@ -543,7 +542,6 @@ support for a particular file system might be provided either on a static
.Xr mount_cd9660 8 ,
.Xr mount_msdosfs 8 ,
.Xr mount_nfs 8 ,
.Xr mount_ntfs 8 ,
.Xr mount_nullfs 8 ,
.Xr mount_smbfs 8 ,
.Xr mount_udf 8 ,

View file

@ -142,7 +142,7 @@ use_mountprog(const char *vfstype)
*/
unsigned int i;
const char *fs[] = {
"cd9660", "mfs", "msdosfs", "nfs", "ntfs",
"cd9660", "mfs", "msdosfs", "nfs",
"nullfs", "oldnfs", "smbfs", "udf", "unionfs",
NULL
};

View file

@ -128,7 +128,6 @@ NNTP
NSS
NSSwitch
NT
NTFS
NTP
Nasdaq
NetBIOS

View file

@ -252,8 +252,6 @@ FIFOs file system
MS-DOS file system
.It Pa nfs/
C include files for NFS (Network File System) version 2, 3 and 4
.It Pa ntfs/
NTFS file system
.It Pa nullfs/
loopback file system
.It Pa procfs/

View file

@ -168,8 +168,6 @@ linsysfs_load="NO" # Linux compatibility system filesystem
msdosfs_load="NO" # FAT-12/16/32
nfsclient_load="NO" # NFS client
nfsserver_load="NO" # NFS server
ntfs_load="NO" # NTFS
ntfs_iconv_load="NO" # NTFS iconv character support
nullfs_load="NO" # Null filesystem
procfs_load="NO" # Process filesystem
reiserfs_load="NO" # ReiserFS

View file

@ -1006,11 +1006,6 @@ options NFSCL #experimental NFS client with NFSv4
options NFSD #experimental NFS server with NFSv4
options KGSSAPI #Kernel GSSAPI implementation
# NT File System. Read-mostly, see mount_ntfs(8) for details.
# For a full read-write NTFS support consider sysutils/fusefs-ntfs
# port/package.
options NTFS
options NULLFS #NULL filesystem
options PROCFS #Process filesystem (requires PSEUDOFS)
options PSEUDOFS #Pseudo-filesystem framework
@ -1116,7 +1111,6 @@ device ksyms
# Each option requires their base file system and LIBICONV.
options CD9660_ICONV
options MSDOSFS_ICONV
options NTFS_ICONV
options UDF_ICONV

View file

@ -2366,12 +2366,6 @@ fs/nfsserver/nfs_nfsdkrpc.c optional nfsd inet
fs/nfsserver/nfs_nfsdserv.c optional nfsd inet
fs/nfsserver/nfs_nfsdport.c optional nfsd inet
fs/nfsserver/nfs_nfsdcache.c optional nfsd inet
fs/ntfs/ntfs_compr.c optional ntfs
fs/ntfs/ntfs_iconv.c optional ntfs_iconv
fs/ntfs/ntfs_ihash.c optional ntfs
fs/ntfs/ntfs_subr.c optional ntfs
fs/ntfs/ntfs_vfsops.c optional ntfs
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
@ -2458,7 +2452,6 @@ geom/label/g_label.c optional geom_label
geom/label/g_label_ext2fs.c optional geom_label
geom/label/g_label_iso9660.c optional geom_label
geom/label/g_label_msdosfs.c optional geom_label
geom/label/g_label_ntfs.c optional geom_label
geom/label/g_label_reiserfs.c optional geom_label
geom/label/g_label_ufs.c optional geom_label
geom/label/g_label_gpt.c optional geom_label

View file

@ -212,7 +212,6 @@ FFS opt_dontuse.h
FUSE opt_dontuse.h
MSDOSFS opt_dontuse.h
NANDFS opt_dontuse.h
NTFS opt_dontuse.h
NULLFS opt_dontuse.h
PROCFS opt_dontuse.h
PSEUDOFS opt_dontuse.h
@ -246,7 +245,6 @@ NFSD opt_nfs.h
# filesystems and libiconv bridge
CD9660_ICONV opt_dontuse.h
MSDOSFS_ICONV opt_dontuse.h
NTFS_ICONV opt_dontuse.h
UDF_ICONV opt_dontuse.h
# If you are following the conditions in the copyright,

View file

@ -84,7 +84,6 @@ const struct g_label_desc *g_labels[] = {
&g_label_msdosfs,
&g_label_ext2fs,
&g_label_reiserfs,
&g_label_ntfs,
&g_label_gpt,
&g_label_gpt_uuid,
NULL

View file

@ -84,7 +84,6 @@ extern struct g_label_desc g_label_iso9660;
extern struct g_label_desc g_label_msdosfs;
extern struct g_label_desc g_label_ext2fs;
extern struct g_label_desc g_label_reiserfs;
extern struct g_label_desc g_label_ntfs;
extern struct g_label_desc g_label_gpt;
extern struct g_label_desc g_label_gpt_uuid;
#endif /* _KERNEL */

View file

@ -28,7 +28,6 @@ COMM= ${SYS}/dev/advansys/*.[ch] \
${SYS}/fs/fdescfs/*.[ch] \
${SYS}/fs/fifofs/*.[ch] \
${SYS}/fs/msdosfs/*.[ch] \
${SYS}/fs/ntfs/*.[ch] \
${SYS}/fs/nullfs/*.[ch] \
${SYS}/fs/procfs/*.[ch] \
${SYS}/fs/smbfs/*.[ch] \

View file

@ -530,7 +530,6 @@
./sbin/mount_msdosfs
./sbin/mount_nfs
./sbin/mount_newnfs
./sbin/mount_ntfs
./sbin/mount_nullfs
./sbin/mount_udf
./sbin/mount_unionfs

View file

@ -240,8 +240,6 @@ SUBDIR= \
nge \
nmdm \
${_nsp} \
ntfs \
ntfs_iconv \
nullfs \
${_nvd} \
${_nve} \

View file

@ -8,7 +8,6 @@ SRCS+= g_label_ext2fs.c
SRCS+= g_label_gpt.c
SRCS+= g_label_iso9660.c
SRCS+= g_label_msdosfs.c
SRCS+= g_label_ntfs.c
SRCS+= g_label_reiserfs.c
SRCS+= g_label_ufs.c