-
jbkhrm..we have a boot type of ZPOOL_COPY_BOOT_LABEL, I see several spots where it's assigned, but nowhere where it checks for that value... now i'm curious what actually copies the bootloader on a boot pool when replacing the disk
-
jbki'd expect something invoking installboot on the disk
-
jbkoh..
-
jbksneaky
-
jbkthere's a syseventd script that calls a zfs script that calls bootadm install-bootloader
-
jbkand that value doesn't actually appear to be used (anymore?)
-
tsoome_jbk yes, the original sysevent script was using installgrub and installgrub has the copy feature (actually it is present in installboot as well, but I do not think it is that useful anyhow), I suppose, the original idea was to simplify raw boot slice handling or something like that.
-
jbkthe existence of that unused enum is what threw me off... by its name I thought it was triggering something