summaryrefslogtreecommitdiffstats
path: root/sbin/badsect/badsect.c
Commit message (Collapse)AuthorAgeFilesLines
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* 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-041-25/+25
|
* 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.
* BSD 4.4 Lite sbin Sourcesrgrimes1994-05-261-0/+209
Note: XNSrouted and routed NOT imported here, they shall be imported with usr.sbin.
OpenPOWER on IntegriCloud