gpt add の -s オプションでサイズを指定するけれど、その単位が
The -s size option allows the user to specify the size of the partition. If there is no suffix, or the suffix is `s' or `S' then size is in sectors, otherwise size is in bytes which must be a multiple of the device's sector size.
って、わかりにくいな、おい(つまり、末尾に何も付けない もしくは S を付けるととセクタ単位だけど、 K/M/G の SI接頭辞を付けると S以外の何かを何かを付けた扱いになってバイト単位になる。全然直感的じゃないよ!)
Conversation
Notices
-
Izumi Tsutsui (tsutsuii@social.mikutter.hachune.net)'s status on Sunday, 24-Feb-2019 00:47:19 JST
Izumi Tsutsui