]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
fsck_msdosfs: be a bit more permissive
authorpfg <pfg@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 14 Jul 2014 20:07:23 +0000 (20:07 +0000)
committerpfg <pfg@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 14 Jul 2014 20:07:23 +0000 (20:07 +0000)
commit938a0be667192868f0e1854e338a2865bcc1fc84
treeb600526c930db48db965ba05eb006e277422c4c3
parent50ff83838b76e481c6b2c406c1981507756aec30
fsck_msdosfs: be a bit more permissive

The free space value in the FSInfo block is merely unitialized when it is
0xffffffff. This fixes a bug found in NetBSD.

It must be noted that we never supported all the checks that NetBSD does
as some of them would cause failures with a freshly created FAT32
from MS-Windows.

While here, bring some space fixes.

Obtained from: NetBSD (rev. 1.22)

git-svn-id: svn://svn.freebsd.org/base/stable/10@268629 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sbin/fsck_msdosfs/fat.c