mkimg(1) is a fantastic tool to build all sorts of partitioned disk images, however it lacks the ability to mark GPT boot partition "active".
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
usr.bin/mkimg/mkimg.1 | ||
---|---|---|
163 | It would be nice to have this list sorted alphabetically. Apart from that, this change looks good to me. Don't forget to bump .Dd when commtting, though. |
usr.bin/mkimg/mkimg.1 | ||
---|---|---|
160 | Uhm, the "and" should go onto a separate line so it's not an argument to the .Ar macro and not rendered specially as expected. |
usr.bin/mkimg/gpt.c | ||
---|---|---|
211 | One final nit... For GPT this is FreeBSD specific. The GPT standard just sets these bits aside for the OS to do what it wants... Linux, windows and MacOS all ignore it. |
looks unnecessary.
usr.bin/mkimg/gpt.c | ||
---|---|---|
211 | Hmm, yet Windows at least sets those bits when installing itself: $ sudo parted /dev/nvme0n1 print Number Start End Size File system Name Flags |
usr.bin/mkimg/gpt.c | ||
---|---|---|
211 | Are you sure? They aren't in the GPT/UEFI standard. 'boot' flag for parted has the value of '1' and is generated within parted. while the bootme flag for FreeBSD has a value of (1ULL << 59) and is definitely outside of the standard flags. |