Changeset View
Changeset View
Standalone View
Standalone View
cddl/contrib/opensolaris/cmd/zpool/zpool_main.c
Show First 20 Lines • Show All 5,845 Lines • ▼ Show 20 Lines | if (showversions) { | ||||
} | } | ||||
} else { | } else { | ||||
ret = for_each_pool(argc, argv, B_TRUE, NULL, | ret = for_each_pool(argc, argv, B_TRUE, NULL, | ||||
upgrade_one, &cb); | upgrade_one, &cb); | ||||
} | } | ||||
if (cb.cb_poolname[0] != '\0') { | if (cb.cb_poolname[0] != '\0') { | ||||
(void) printf( | (void) printf( | ||||
"If you boot from pool '%s', don't forget to update boot code.\n" | "If you boot from the '%s' pool, don't forget to update " | ||||
"Assuming you use GPT partitioning and da0 is your boot disk\n" | "the boot code.\n" | ||||
"the following command will do it:\n" | "Assuming da0 is your boot disk:\n" | ||||
"\tgpart show da0\n\n" | |||||
"For legacy/BIOS boot using GPT partitioning update the " | |||||
"'freebsd-boot' type partition.\n" | |||||
bcr: I'd use a colon at the end of the sentence. | |||||
"\n" | "\n" | ||||
"\tgpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 da0\n\n", | "\tgpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 2 " | ||||
"da0\n\n" | |||||
"Or for UEFI, update the 'efi' type partition.\n" | |||||
bcrUnsubmitted Not Done Inline ActionsSame here for the EFI instructions. bcr: Same here for the EFI instructions. | |||||
"\n" | |||||
"\tgpart bootcode -p /boot/boot1.efifat -i 1 da0\n\n" | |||||
"Make sure the -i <index> parameter is correct\n\n", | |||||
bcrUnsubmitted Not Done Inline ActionsNo sentence stop (or even an exclamation mark) here? bcr: No sentence stop (or even an exclamation mark) here? | |||||
cb.cb_poolname); | cb.cb_poolname); | ||||
} | } | ||||
return (ret); | return (ret); | ||||
} | } | ||||
typedef struct hist_cbdata { | typedef struct hist_cbdata { | ||||
boolean_t first; | boolean_t first; | ||||
▲ Show 20 Lines • Show All 506 Lines • Show Last 20 Lines |
I'd use a colon at the end of the sentence.