diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2022-10-12 23:11:34 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2022-10-12 23:11:34 +0000 |
commit | 6737af17efcf81e66d2ae0c2960dd7cdcf885571 (patch) | |
tree | f22a2d99d6bfb976d070b0550290215edd62a6fe /lib/libc/gen | |
parent | 25399137b2049d8c660c7d2d02a0588cfd2d0581 (diff) |
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.
Diffstat (limited to 'lib/libc/gen')
-rw-r--r-- | lib/libc/gen/disklabel.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/libc/gen/disklabel.c b/lib/libc/gen/disklabel.c index 57fd76aebfc..db5878ae25d 100644 --- a/lib/libc/gen/disklabel.c +++ b/lib/libc/gen/disklabel.c @@ -71,9 +71,6 @@ getdiskbyname(const char *name) cq++, cp++; *cq = '\0'; - if (cgetcap(buf, "sf", ':') != NULL) - dp->d_flags |= D_BADSECT; - #define getnumdflt(field, dname, dflt) \ { long f; (field) = (cgetnum(buf, dname, &f) == -1) ? (dflt) : f; } #define getnum(field, dname) \ |