mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 02:27:36 +03:00
libspl: include: sys/vtoc.h: reduce to absolute barest minimum
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Closes #12996
This commit is contained in:
@@ -278,8 +278,9 @@ zpool_label_disk(libzfs_handle_t *hdl, zpool_handle_t *zhp, const char *name)
|
||||
* Why we use V_USR: V_BACKUP confuses users, and is considered
|
||||
* disposable by some EFI utilities (since EFI doesn't have a backup
|
||||
* slice). V_UNASSIGNED is supposed to be used only for zero size
|
||||
* partitions, and efi_write() will fail if we use it. V_ROOT, V_BOOT,
|
||||
* etc. were all pretty specific. V_USR is as close to reality as we
|
||||
* partitions, and efi_write() will fail if we use it.
|
||||
* Other available types were all pretty specific.
|
||||
* V_USR is as close to reality as we
|
||||
* can get, in the absence of V_OTHER.
|
||||
*/
|
||||
vtoc->efi_parts[0].p_tag = V_USR;
|
||||
|
||||
Reference in New Issue
Block a user