summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bad144
Commit message (Collapse)AuthorAgeFilesLines
* Commit the longstanding bin/410 & kern/411 fix, in the hope that somebodyphk1995-12-011-3/+3
| | | | | will find out if it works/breaks before we do our next release. It's all about bad blocks in the remap area of the disk.
* Merge RELENG_2_0_5 into HEADrgrimes1995-06-111-29/+31
|
* Remove trailing whitespace.rgrimes1995-05-301-5/+5
|
* Change the ioctl to match what went into wd.cphk1995-05-181-3/+3
|
* Basic bad-block scanner. Works. Slow. Adds the bad-spots automatically.phk1995-05-151-77/+76
|
* printf -> fprintf when you use a fd arg :-), oops!rgrimes1995-05-141-1/+1
|
* Don't add a slash to the end of _PATH_DEV, it already has one.rgrimes1995-05-141-1/+2
| | | | | | | | Print a final newline to stderr after the scan finishes, only do it at the right place in this version, 1.1.5.1 caused an extra newline if you where not running -s, and it went to stdout instead of stderr. Obtained from: FreeBSD 1.1.5.1
* Add bad144 -s option to scan entire slice of disk.rgrimes1995-05-142-4/+106
| | | | Obtained from: FreeBSD 1.1.5.1 (Just the scan function itself was added)
* mlink bad144.8 to man8/bad144.8 so we can find the manual page.rgrimes1995-05-141-1/+2
| | | | | | Use /${MACHINE} for MANSUBDIR instead of hardcoded /i386 Obtained from: FreeBSD 1.1.5.1
* - Don't write the label if the (undocumented) nflag is set.bde1995-04-151-60/+67
| | | | | | | | | | - Don't write the label directly - use DIOCWDINFO. - Avoid overflow in calculation of lseek() offsets. - Fix format args in strings some more. %ld and %lu were often reversed and #ifdefed out strings weren't fixed. - Don't hard code the raw partition letter or DKBAD*. - Write the qsort() comparision function in `C'. - Fix all remaining warnings from `cc -Wall -Walmost-really-all'.
* Clean up, and make it work with Bruces wd.c changes.phk1995-04-092-31/+66
| | | | Bad144 is on the way back.
* Define DKBAD_MAGIC the same as in 1.1.5 (as 0x4321 instead of 0). 0 isbde1994-10-251-1/+1
| | | | a poor value for a magic number, and we need to be compatible.
* Get rid of update. Make man page installation work with our schemewollman1994-08-051-2/+2
| | | | (and rename a few in the process).
* Converted 'vmunix' to 'kernel'.dg1994-08-051-1/+1
|
* BSD 4.4 Lite usr.sbin Sourcesrgrimes1994-05-263-0/+855
OpenPOWER on IntegriCloud