freebsd-dev/sbin/fsck_msdosfs
Pedro F. Giffuni ea4cbe3197 msdosfs: Assorted fixes from other BSDs.
When truncating cluster chains fix the length of the cluster head.
http://marc.info/?t=140304310700005&r=1&w=2

Avoid infinite loops in cluster chain linked lists.
http://marc.info/?l=openbsd-tech&m=140275150804337&w=2

Avoid off-by-one on FAT12 filesystems.
http://marc.info/?l=openbsd-tech&m=140234174104724&w=2

Obtained from:	NetBSD (from OpenBSD)
MFC after:	1 week
2014-07-14 20:58:02 +00:00
..
boot.c Make fsck and fsck_msdosfs WARNS=6 clean 2012-10-21 12:01:19 +00:00
check.c Print a newline after the error message. 2012-11-03 09:18:37 +00:00
dir.c msdosfs: Assorted fixes from other BSDs. 2014-07-14 20:58:02 +00:00
dosfs.h Rename fields to match better the msdosfs headers. This work is still 2010-02-14 12:31:28 +00:00
ext.h Minor (mostly cosmetic) cleanups 2014-07-14 19:16:49 +00:00
fat.c msdosfs: Assorted fixes from other BSDs. 2014-07-14 20:58:02 +00:00
fsck_msdosfs.8 mdoc: .Ud has attitude, it takes no argument! 2010-05-27 13:56:40 +00:00
main.c Make sure that each va_start has one and only one matching va_end, 2012-05-29 01:48:06 +00:00
Makefile Make fsck and fsck_msdosfs WARNS=6 clean 2012-10-21 12:01:19 +00:00