summaryrefslogtreecommitdiff
path: root/sbin/fsck_msdos/boot.c
AgeCommit message (Collapse)Author
2012-03-31Make fsck_msdos work with non-512-byte sector devices. Problem notedKenneth R Westerback
by and fixes tested by Alexey Vatchenko. Add a bunch of tests and error messages so whatever media/devices this breaks will be more easily fixed. Ignore invalid signatures since we have other checks and many media have missing signatures. Use character device to read disk even when called directly.
2010-12-18add some off_t and ssize_t love; ok stsp millertTheo de Raadt
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
2008-02-07Check reads and lseek correctly for unsigned return; ok krw@Ian Darwin
2006-07-19Only compare important parts of the boot block with the backup copy,Tom Cosgrove
since some vendor utilities will change one without changing the other. Raised most recently by Nick Guenther; fix is similar to what is in NetBSD, but includes an idea from Steven E. Kalbach <kalbachs (at) kalbachsoft (dot) com>, posted to bugs@ over 5 years ago. ok tedu@, pedro@
2006-05-27newline fix + s/perror/xperror since we areThordur I. Bjornsson
using a home rolled version. ok pedro@
2004-07-17some ansi; khalek@linuxgamers.netTheo de Raadt
2003-07-29spacesTheo de Raadt
2003-03-11spellingDavid Krause
ok millert@
2002-02-14Don't divide by zero.Aaron Campbell
2001-07-03Put missing \n's in som error messages; consolidate redundant "if" (OK theo@).Ian Darwin
1999-08-30Cater to Win95 brokenness (from netbsd)Marc Espie
1998-01-11FAT32 support from NetBSD by Wolfgang Solfrank.Niels Provos
1997-03-02Update based on latest NetBSD version.Todd C. Miller
Now uses functions from util.[ch] instead of local ones. Also some anal KNF from me...
1996-06-23update rcsidTheo de Raadt
1996-05-22add fsck_msdosTheo de Raadt