]> git.proxmox.com Git - mirror_zfs.git/commit
libefi: remove efi_auto_sense()
authorнаб <nabijaczleweli@nabijaczleweli.xyz>
Thu, 3 Jun 2021 21:34:27 +0000 (23:34 +0200)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 10 Jun 2021 00:03:42 +0000 (17:03 -0700)
commitd406a695c640dd93f49f8dcb532bfa0394ad1812
treefaf2c920d1d601dc7271c57ff71d34a936757951
parent4b7ed6a286c3c92e34f2941dafd822cfa6a880dd
libefi: remove efi_auto_sense()

It's present (but undocumented) in the illumos gate and used exclusively
by rmformat(1) (which I recommend as a nice blast from the past),
and also the math assumes 512B sectors and is therefore wrong

Reviewed-by: Matthew Ahrens <mahrens@delphix.com>
Reviewed-by: John Kennedy <john.kennedy@delphix.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes #12191
include/sys/efi_partition.h
lib/libefi/rdwr_efi.c
lib/libzfs_core/libzfs_core.abi