cvs commit: src/sys/fs/msdosfs msdosfs_vfsops.c

Ben Kaduk minimarmot at gmail.com
Sat Jul 14 01:28:06 UTC 2007


Hi Bruce,

On 7/12/07, Bruce Evans <bde at freebsd.org> wrote:
> bde         2007-07-12 17:17:47 UTC
>
>   FreeBSD src repository
>
>   Modified files:
>     sys/fs/msdosfs       msdosfs_vfsops.c
>   Log:
>   Round up the FAT block size to a multiple of the sector size so that i/o
>   to the FAT is possible.
>
>   Make the FAT block size less arbitrary before it is rounded up:
>   - for FAT12, default to 3*512 instead of to 3 sectors.  The magic 3 is
>     the default number of 512-byte FAT sectors on a floppy drive.  That
>     many sectors is too many if the sector size is larger.
>   - for !FAT12, default to PAGE_SIZE instead of to 4096.  Remove
>     MSDOSFS_DFLTBSIZE since it only obfuscated this 4096.
>
[snip]

I recently got a patch committed to the installation chapter of the
handbook, which included two occasions of clarifying ``MS-DOS
filesystem'' as ``FAT16 or FAT32'' [1,2 for present incarnation].  I
am too young to remember the existence of FAT12, so I'll have to defer
to others as to whether the handbook should mention FAT12 in the same
breath as FAT16 and FAT32.  What do you think?

Thanks,

Ben Kaduk

[1] http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-pre.html
[2] http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-trouble.html


More information about the cvs-src mailing list