diff options
author | Conrad Meyer <cem@FreeBSD.org> | 2019-08-13 20:06:55 +0000 |
---|---|---|
committer | Conrad Meyer <cem@FreeBSD.org> | 2019-08-13 20:06:55 +0000 |
commit | ac8e5d02cf9fcbe09e2077499804d791fc70122a (patch) | |
tree | 3a1a68a83211a29345db78bfc84b0c3f831b5a6a /usr.sbin/boot0cfg | |
parent | ba084c18dee217c29f87bbf53b496c0be5dd9c2d (diff) | |
download | src-ac8e5d02cf9fcbe09e2077499804d791fc70122a.tar.gz src-ac8e5d02cf9fcbe09e2077499804d791fc70122a.zip |
Remove deprecated GEOM classes
Follow-up on r322318 and r322319 and remove the deprecated modules.
Shift some now-unused kernel files into userspace utilities that incorporate
them. Remove references to removed GEOM classes in userspace utilities.
Reviewed by: imp (earlier version)
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D21249
Notes
Notes:
svn path=/head/; revision=351001
Diffstat (limited to 'usr.sbin/boot0cfg')
-rw-r--r-- | usr.sbin/boot0cfg/boot0cfg.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/usr.sbin/boot0cfg/boot0cfg.c b/usr.sbin/boot0cfg/boot0cfg.c index f6f12c0bd58b..16bc46b5ec12 100644 --- a/usr.sbin/boot0cfg/boot0cfg.c +++ b/usr.sbin/boot0cfg/boot0cfg.c @@ -426,16 +426,6 @@ write_mbr(const char *fname, int flags, u_int8_t *mbr, int mbr_size, errx(1, "GEOM_PART: write bootcode to %s failed: %s", fname, errmsg); gctl_free(grq); - } else if (geom_class_available("MBR") != 0) { - grq = gctl_get_handle(); - gctl_ro_param(grq, "verb", -1, "write MBR"); - gctl_ro_param(grq, "class", -1, "MBR"); - gctl_ro_param(grq, "geom", -1, pname); - gctl_ro_param(grq, "data", mbr_size, mbr); - errmsg = gctl_issue(grq); - if (errmsg != NULL) - err(1, "GEOM_MBR: write MBR to %s failed", fname); - gctl_free(grq); } else errx(1, "can't write MBR to %s", fname); free(pname); |