aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/msdosfs/Makefile
diff options
context:
space:
mode:
authorTim J. Robbins <tjr@FreeBSD.org>2004-07-03 13:22:38 +0000
committerTim J. Robbins <tjr@FreeBSD.org>2004-07-03 13:22:38 +0000
commit3bc482ec1c8a1d4b31642a619d03f64e3d8eca53 (patch)
tree651a802dbc4eb055206f7c5ccba7348f998b53bd /sys/modules/msdosfs/Makefile
parentc296e199b32f7def5fb05e062f27e7dbaa14069b (diff)
By popular request, add a workaround that allows large (>128GB or so)
FAT32 filesystems to be mounted, subject to some fairly serious limitations. This works by extending the internal pseudo-inode-numbers generated from the file's starting cluster number to 64-bits, then creating a table mapping these into arbitrary 32-bit inode numbers, which can fit in struct dirent's d_fileno and struct vattr's va_fileid fields. The mappings do not persist across unmounts or reboots, so it's not possible to export these filesystems through NFS. The mapping table may grow to be rather large, and may grow large enough to exhaust kernel memory on filesystems with millions of files. Don't enable this option unless you understand the consequences.
Notes
svn path=/head/; revision=131523
Diffstat (limited to 'sys/modules/msdosfs/Makefile')
-rw-r--r--sys/modules/msdosfs/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/modules/msdosfs/Makefile b/sys/modules/msdosfs/Makefile
index ef8989fc494c..9ee84514a514 100644
--- a/sys/modules/msdosfs/Makefile
+++ b/sys/modules/msdosfs/Makefile
@@ -3,9 +3,12 @@
.PATH: ${.CURDIR}/../../fs/msdosfs
KMOD= msdosfs
-SRCS= vnode_if.h \
+SRCS= opt_msdosfs.h vnode_if.h \
msdosfs_conv.c msdosfs_denode.c msdosfs_fat.c msdosfs_lookup.c \
msdosfs_vfsops.c msdosfs_vnops.c
EXPORT_SYMS= msdosfs_iconv
+opt_msdosfs.h:
+ touch ${.TARGET}
+
.include <bsd.kmod.mk>