History log of /openbsd-src/sbin/badsect/badsect.c (Results 1 – 25 of 29)
Revision Date Author Comments
# ea6c4d24 12-Oct-2022 krw <krw@openbsd.org>

Nuke D_BADSECT and disktab's 'sf'.

DEC standard 144 bad sector information is no longer a thing. As
evidenced by bad144(8) moving to the attic 16 years ago.

ok miod@, who points out that badsect(8)

Nuke D_BADSECT and disktab's 'sf'.

DEC standard 144 bad sector information is no longer a thing. As
evidenced by bad144(8) moving to the attic 16 years ago.

ok miod@, who points out that badsect(8) is now the nail sticking
out.

show more ...


# df69c215 28-Jun-2019 deraadt <deraadt@openbsd.org>

When system calls indicate an error they return -1, not some arbitrary
value < 0. errno is only updated in this case. Change all (most?)
callers of syscalls to follow this better, and let's see if

When system calls indicate an error they return -1, not some arbitrary
value < 0. errno is only updated in this case. Change all (most?)
callers of syscalls to follow this better, and let's see if this strictness
helps us in the future.

show more ...


# 06049e53 12-Nov-2015 deraadt <deraadt@openbsd.org>

use symbolics for flags to open
from Ricardo Mestre


# 78eb0b7e 20-Jan-2015 deraadt <deraadt@openbsd.org>

Adjust <sys/param.h> comments regarding use of use of MAXFRAG, or
delete <sys/param.h> if now possible
ok guenther


# 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 ...


# 2a585822 22-May-2014 krw <krw@openbsd.org>

Nuke pointless dev_bsize variable which is always set to 512, and just
use DEV_BSIZE.

Replace lseek+read with pread().


# bfeb4d71 21-May-2014 krw <krw@openbsd.org>

Nuke some trailing whitespace to shrink subsequent diffs.


# bb4f4fae 01-Nov-2013 krw <krw@openbsd.org>

Sprinkle (long long) casts where %lld is being used to print daddr_t
variables. Some random whitespace/knf repairs encountered on the way.

ok miod@ on inspection, feedback & more suggestions from mi

Sprinkle (long long) casts where %lld is being used to print daddr_t
variables. Some random whitespace/knf repairs encountered on the way.

ok miod@ on inspection, feedback & more suggestions from millert@

show more ...


# 1abdbfde 11-Jun-2013 deraadt <deraadt@openbsd.org>

final removal of daddr64_t. daddr_t has been 64 bit for a long enough
test period; i think 3 years ago the last bugs fell out.
ok otto beck others


# bf054412 02-Jun-2013 guenther <guenther@openbsd.org>

Switch from antique struct direct to struct dirent


# 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 ...


# 03cb09c0 06-Aug-2007 sobrado <sobrado@openbsd.org>

the ellipsis is not an optional argument; while here, sync the usage
and synopsis of commands

lots of good ideas by jmc@

ok jmc@


# 50c87d91 29-Jun-2007 deraadt <deraadt@openbsd.org>

more daddr64_t changes; checked by otto


# 363b8579 19-Mar-2007 pedro <pedro@openbsd.org>

Add FFS2 fields to the superblock, change file system tools to keep
accessing FFS1 fields, okay art@, quite some testing by ckuethe@, simon@
and thib@, thanks.


# 4dd23493 21-Jul-2005 fgsch <fgsch@openbsd.org>

remove trailing newlines from err(3) calls; millert@ and matthieu@ ok.


# c8e1ab9a 08-Aug-2004 deraadt <deraadt@openbsd.org>

spacing


# d0e56f7a 03-Mar-2004 tedu <tedu@openbsd.org>

cleanups, use err(). from Mathias () enloco.net pr3679


# 1ef0d710 02-Jun-2003 millert <millert@openbsd.org>

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999. Proofed by myself and Theo.


# 41be703d 02-Apr-2003 deraadt <deraadt@openbsd.org>

Xenu made me fix the strcpy; millert ok


# 15f407e7 13-Mar-2003 deraadt <deraadt@openbsd.org>

more strlcpy; most from Hans-Joerg.Hoexer@yerbouti.franken.de, a bit from me


# bc52e260 03-Jul-2002 deraadt <deraadt@openbsd.org>

ansi


# 401ae41b 09-Jun-2002 todd <todd@openbsd.org>

rm trailing whitespace


# c72b5b24 16-Feb-2002 millert <millert@openbsd.org>

Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be don

Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.

show more ...


# e073c79d 05-Nov-2001 mpech <mpech@openbsd.org>

kill more registers;

millert@ ok


# a4df0321 07-Jul-2001 deraadt <deraadt@openbsd.org>

major -Wall cleanup, almost complete


12