diff options
author | rodrigc <rodrigc@FreeBSD.org> | 2007-01-30 03:11:45 +0000 |
---|---|---|
committer | rodrigc <rodrigc@FreeBSD.org> | 2007-01-30 03:11:45 +0000 |
commit | fdf518fe9a7942b309ce0ea9424e5670fcdf27c3 (patch) | |
tree | dcfa8a8ce70fbf1c51e450b21d8310fa37f311d1 /sys/conf/files | |
parent | bbf865842dfb6c8311e7d908ea1c1a6bdb4eb103 (diff) | |
download | FreeBSD-src-fdf518fe9a7942b309ce0ea9424e5670fcdf27c3.zip FreeBSD-src-fdf518fe9a7942b309ce0ea9424e5670fcdf27c3.tar.gz |
Add a "-o large" mount option for msdosfs. Convert compile-time checks for
#ifdef MSDOSFS_LARGE to run-time checks to see if "-o large" was specified.
Test case provided by Oliver Fromme:
truncate -s 200G test.img
mdconfig -a -t vnode -f test.img -u 9
newfs_msdos -s 419430400 -n 1 /dev/md9 zip250
mount -t msdosfs /dev/md9 /mnt # should fail
mount -t msdosfs -o large /dev/md9 /mnt # should succeed
PR: 105964
Requested by: Oliver Fromme <olli lurza secnetix de>
Tested by: trhodes
MFC after: 2 weeks
Diffstat (limited to 'sys/conf/files')
-rw-r--r-- | sys/conf/files | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/conf/files b/sys/conf/files index f5155da..760b94a 100644 --- a/sys/conf/files +++ b/sys/conf/files @@ -1106,7 +1106,7 @@ fs/hpfs/hpfs_vnops.c optional hpfs fs/msdosfs/msdosfs_conv.c optional msdosfs fs/msdosfs/msdosfs_denode.c optional msdosfs fs/msdosfs/msdosfs_fat.c optional msdosfs -fs/msdosfs/msdosfs_fileno.c optional msdosfs_large +fs/msdosfs/msdosfs_fileno.c optional msdosfs fs/msdosfs/msdosfs_iconv.c optional msdosfs_iconv fs/msdosfs/msdosfs_lookup.c optional msdosfs fs/msdosfs/msdosfs_vfsops.c optional msdosfs |