path: root/sbin/mount_msdosfs
diff options
authorKonstantin Belousov <kib@FreeBSD.org>2017-06-09 12:06:22 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2017-06-09 12:06:22 +0000
commit40373cf5b87fe5ac39830b31f28994b6729b3215 (patch)
tree5dbb82910e7d6504230eb0ad8e5bc7e4acae8c40 /sbin/mount_msdosfs
parent7abe0df2233f76b0cd49e7ed1b1e70085f5f0cfb (diff)
Remove msdosfs -o large support.
Its purpose was to translate the values for msdosfs inode numbers, which is calculated from the msdosfs structures describing the file, into the range representable by 32bit ino_t. The translation acted for filesystems larger than 128Gb, it reserved the range 0xf0000000 (FILENO_FIRST_DYN) to UINT32_MAX and remembered some arbitrary translation of ino >= FILENO_FIRST_DYN into this range. It consumed memory that could be only freed by unmount, and the translation was not stable across remounts. With ino_t type extended to 64 bit, there is no such issue and values can be returned without compaction to 32bit. That is, for the native environments, the translation layer is not necessary and adds significant undeserved code complexity. For compat ABIs which use 32bit ino_t, the vfs.ino64_trunc_error sysctl provides some measures to soften the failure mode when inode numbers truncation is not safe. Discussed with: bde Sponsored by: The FreeBSD Foundation
Notes: svn path=/head/; revision=319735
Diffstat (limited to 'sbin/mount_msdosfs')
1 files changed, 1 insertions, 6 deletions
diff --git a/sbin/mount_msdosfs/mount_msdosfs.8 b/sbin/mount_msdosfs/mount_msdosfs.8
index 445a9fce9d9d..2c3db364eaf8 100644
--- a/sbin/mount_msdosfs/mount_msdosfs.8
+++ b/sbin/mount_msdosfs/mount_msdosfs.8
@@ -30,7 +30,7 @@
.\" $FreeBSD$
-.Dd April 3, 2017
+.Dd May 28, 2017
@@ -73,11 +73,6 @@ as described in
.Xr mount 8 .
The following MSDOS file system-specific options are available:
.Bl -tag -width indent
-.It Cm large
-Support file systems larger than 128 gigabytes at the expense
-of 32 bytes of kernel memory for each file on disk.
-This memory will not be reclaimed until the file system has
-been unmounted.
.It Cm longnames
Force Windows 95 long filenames to be visible.
.It Cm shortnames