diff options
author | наб <[email protected]> | 2021-06-03 23:34:27 +0200 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2021-06-09 17:03:42 -0700 |
commit | d406a695c640dd93f49f8dcb532bfa0394ad1812 (patch) | |
tree | faf2c920d1d601dc7271c57ff71d34a936757951 /include/sys | |
parent | 4b7ed6a286c3c92e34f2941dafd822cfa6a880dd (diff) |
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 <[email protected]>
Reviewed-by: John Kennedy <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Ahelenia Ziemiańska <[email protected]>
Closes #12191
Diffstat (limited to 'include/sys')
-rw-r--r-- | include/sys/efi_partition.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/sys/efi_partition.h b/include/sys/efi_partition.h index 88bdfd2b1..fbb58013e 100644 --- a/include/sys/efi_partition.h +++ b/include/sys/efi_partition.h @@ -370,7 +370,6 @@ extern int efi_rescan(int); extern void efi_free(struct dk_gpt *); extern int efi_type(int); extern void efi_err_check(struct dk_gpt *); -extern int efi_auto_sense(int fd, struct dk_gpt **); extern int efi_use_whole_disk(int fd); #endif |