History log of /openbsd/sbin/fsck_msdos/boot.c (Results 1 – 24 of 24)
Revision Date Author Comments
# ba4520cc 10-Oct-2016 bluhm <bluhm@openbsd.org>

Rename BIOS parameter block field from bsPBP to bsBPB. This typo
has been fixed in FreeBSD in 2002. No binary change.
From Alexander von Gernler; OK krw@


# b9fc9a72 16-Jan-2015 deraadt <deraadt@openbsd.org>

Replace <sys/param.h> with <limits.h> and other less dirty headers where
possible. Annotate <sys/param.h> lines with their current reasons. Switch
to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_N

Replace <sys/param.h> with <limits.h> and other less dirty headers where
possible. Annotate <sys/param.h> lines with their current reasons. Switch
to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change
MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where
sensible to avoid pulling in the pollution. These are the files confirmed
through binary verification.
ok guenther, millert, doug (helped with the verification protocol)

show more ...


# 5f989d62 10-Jul-2014 tobias <tobias@openbsd.org>

Validate file system information which are critical for fsck_msdos operation.

ok krw@


# 3bd633b3 10-Jul-2014 tobias <tobias@openbsd.org>

Validate number of FATs.
Merged from Android (commitid 6c29bbe8d58e6fe8755935a04166ecf82ff31f47)

ok krw@


# 14e30480 16-Jun-2014 tobias <tobias@openbsd.org>

Merge NetBSD commit:
Move to 2 clause license, approved by Wolfgang Solfrank.

ok deraadt@, krw@


# fb704eb6 14-Jun-2014 tobias <tobias@openbsd.org>

Fix memory leaks in bootblock handling.

ok krw@


# 5c7c5611 14-Jun-2014 tobias <tobias@openbsd.org>

Fix regression of 1.16: write fsinfo, not block into FSInfo region.

ok krw@


# ee7788d4 12-Aug-2013 rapha <rapha@openbsd.org>

Add missing \n after a warning.

ok miod@


# 98fba8a9 31-Mar-2012 krw <krw@openbsd.org>

Make fsck_msdos work with non-512-byte sector devices. Problem noted
by and fixes tested by Alexey Vatchenko.

Add a bunch of tests and error messages so whatever media/devices
this breaks will be mo

Make fsck_msdos work with non-512-byte sector devices. Problem noted
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.

show more ...


# 553e4131 18-Dec-2010 deraadt <deraadt@openbsd.org>

add some off_t and ssize_t love; ok stsp millert


# 043fbe51 27-Oct-2009 deraadt <deraadt@openbsd.org>

rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and
unmaintainable). these days, people use source. these id's do not provide
any benefit, and do hurt the small install media
(th

rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and
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

show more ...


# 97367dac 07-Feb-2008 ian <ian@openbsd.org>

Check reads and lseek correctly for unsigned return; ok krw@


# a4168683 19-Jul-2006 tom <tom@openbsd.org>

Only compare important parts of the boot block with the backup copy,
since some vendor utilities will change one without changing the
other. Raised most recently by Nick Guenther; fix is similar to

Only compare important parts of the boot block with the backup copy,
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@

show more ...


# dd133929 27-May-2006 thib <thib@openbsd.org>

newline fix + s/perror/xperror since we are
using a home rolled version.

ok pedro@


# 4e95fccf 17-Jul-2004 deraadt <deraadt@openbsd.org>

some ansi; khalek@linuxgamers.net


# b5e17218 29-Jul-2003 deraadt <deraadt@openbsd.org>

spaces


# ed5470ab 11-Mar-2003 david <david@openbsd.org>

spelling
ok millert@


# 88636e1f 14-Feb-2002 aaron <aaron@openbsd.org>

Don't divide by zero.


# 62d85a42 03-Jul-2001 ian <ian@openbsd.org>

Put missing \n's in som error messages; consolidate redundant "if" (OK theo@).


# 9399f920 30-Aug-1999 espie <espie@openbsd.org>

Cater to Win95 brokenness (from netbsd)


# b099d67b 11-Jan-1998 provos <provos@openbsd.org>

FAT32 support from NetBSD by Wolfgang Solfrank.


# a0dbeb59 02-Mar-1997 millert <millert@openbsd.org>

Update based on latest NetBSD version.
Now uses functions from util.[ch] instead of local ones.
Also some anal KNF from me...


# 7b91b0e0 23-Jun-1996 deraadt <deraadt@openbsd.org>

update rcsid


# 9646ab25 22-May-1996 deraadt <deraadt@openbsd.org>

add fsck_msdos