質問: partedには「サイズ変更」コマンドはありません partedを使用してパーティションのサイズを変更しようとしていますが、「resize」コマンドを使用できませんgchain@archbogchain@archbook:~$ sudo parted /dev/sdb gnu parted 3.1 using /dev/sdb welcome to gnu parted! type 'help' to view a list of commands. (parted) help align-check type n check partition n for type(min|opt) alignment help [command] print general help, or help on command mklabel,mktable label-type create a new disklabel (partition table) mkpart part-type [fs-type] start end make a partition name number name name partition number as name print [devices|free|list,all|number] display the partition table, available devices, free space, all found partitions, or a particular partition quit exit program rescue start end rescue a lost partition near start and end rm number delete partition number select device choose the device to edit disk_set flag state change the flag on selected device disk_toggle [flag] toggle the state of flag on selected device set number flag state change the flag on partition number toggle [number [flag]] toggle the state of flag on partition number unit unit set the default unit to unit version display the version number and copyright information of gnu parted archlinux x86_64を使用していますが、これは正常ですか?よろしくお願いします!
回答: resizepartは独立したコマンドとして見つけることができます。次の構文で呼び出すことができます:resizepart/dev/sdb #partnumber newsize block