cvs commit: src/sys/conf files src/sys/fs/msdosfs msdosfs_vfsops.c
msdosfs_vnops.c
Craig Rodrigues
rodrigc at FreeBSD.org
Tue Jan 30 03:11:46 UTC 2007
rodrigc 2007-01-30 03:11:45 UTC
FreeBSD src repository
Modified files:
sys/conf files
sys/fs/msdosfs msdosfs_vfsops.c msdosfs_vnops.c
Log:
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
Revision Changes Path
1.1173 +1 -1 src/sys/conf/files
1.157 +34 -19 src/sys/fs/msdosfs/msdosfs_vfsops.c
1.167 +20 -17 src/sys/fs/msdosfs/msdosfs_vnops.c
More information about the cvs-src
mailing list