summaryrefslogtreecommitdiffstats
path: root/sbin/badsect
Commit message (Collapse)AuthorAgeFilesLines
* Fixed printf format errors.bde1998-06-281-9/+9
|
* Correct use of .Nm. Add section number to .Xr. Add rcsid, usage(). Use err(3).charnier1998-06-042-35/+35
|
* Remove Xref to format(8) which does not exist.max1997-10-151-2/+1
|
* Expected to be found in /sbin not /etc.charnier1997-06-041-2/+2
|
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Sort cross references.wosch1997-01-131-2/+3
|
* Eliminated includes of the "temporary" backwards compatibility headerbde1996-09-241-2/+2
| | | | | | <sys/dir.h> in applications. Maintained existing (inadequate) ifdefs for dir.h vs dirent.h in libdialog, amd and rarpd, but didn't add any new ones.
* Submitted by: Philippe Charnier <charnier@lirmm.fr>, added to by bdebde1995-04-021-8/+8
| | | | Fix all the warnings from `gcc -Wall'.
* Make this actually work. It always failed in FreeBSD because it attemptedbde1995-04-021-6/+27
| | | | | | | | | | | | | | to open the mounted block device containing the directory to put the bad sector files in, and opening of mounted block devices hasn't been allowed since Net/2 or before. Attempt to open the raw device instead. Be more careful about long names. Use lstat() instead of stat() to search for block devices so that my symlink to the default floppy doesn't cause problems. Check for truncation of the block number when it is squeezed through the mknod() interface. The maximum used to be only 32767, but now it large enough.
* Convert to our man installation style. Also fixed long-standing bugwollman1994-08-051-1/+1
| | | | | in `fastboot'/`fasthalt' in which the interpreter would hang around after `reboot' or `halt' is run, causing an irritating ``Killed'' message.
* BSD 4.4 Lite sbin Sourcesrgrimes1994-05-263-0/+347
Note: XNSrouted and routed NOT imported here, they shall be imported with usr.sbin.
OpenPOWER on IntegriCloud