freebsd-dev/sbin/badsect
Bruce Evans 444da1eb3c Make this actually work. It always failed in FreeBSD because it attempted
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.
1995-04-02 16:36:39 +00:00
..
badsect.8 BSD 4.4 Lite sbin Sources 1994-05-26 06:35:07 +00:00
badsect.c Make this actually work. It always failed in FreeBSD because it attempted 1995-04-02 16:36:39 +00:00
Makefile Convert to our man installation style. Also fixed long-standing bug 1994-08-05 02:42:42 +00:00