diff options
author | Peter H. Froehlich <peter.hans.froehlich@gmail.com> | 2021-04-25 18:15:18 +0200 |
---|---|---|
committer | Peter H. Froehlich <peter.hans.froehlich@gmail.com> | 2021-04-25 18:15:18 +0200 |
commit | 8f272adf9273b2379d4647254d1e7b191ff704ca (patch) | |
tree | 3a5f1a2414c5b2b95f3288514db84d21592587d5 /test-mkgpt.sh | |
parent | 360f850c46d9301a7e1177afe9b337fadb7a516a (diff) | |
download | mkgpt-8f272adf9273b2379d4647254d1e7b191ff704ca.tar.gz |
Rework partition struct and partition name.
Diffstat (limited to 'test-mkgpt.sh')
-rwxr-xr-x | test-mkgpt.sh | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/test-mkgpt.sh b/test-mkgpt.sh index 6d291aa..7c3c54d 100755 --- a/test-mkgpt.sh +++ b/test-mkgpt.sh @@ -16,12 +16,13 @@ done # TODO something goes wrong with --sector-size 1024 or 4096 ./mkgpt -o ${tmpdir}/bla.img -s 131072 \ - --part ${tmpdir}/a.img --type system \ - --part ${tmpdir}/b.img --type fat32 \ - --part ${tmpdir}/c.img --type linux \ - --part ${tmpdir}/d.img --type 0x82 \ + --part ${tmpdir}/a.img --type system --name part_system_a \ + --part ${tmpdir}/b.img --type fat32 --name part_fat32_b \ + --part ${tmpdir}/c.img --type linux --name X \ + --part ${tmpdir}/d.img --type 0x82 --name 123456789012345678901234567890123456 \ --part ${tmpdir}/e.img --type 21686148-6449-6E6F-744E-656564454649 fdisk -l ${tmpdir}/bla.img +#xxd ${tmpdir}/bla.img | less rm -rfv ${tmpdir} |