2024 02/23 19:27
Category : 日記
2.3 コマンドラインオプション
コマンド ラインから呼び出すと、Parted は次の構文をサポートします。
#parted [option] device [command [argument]]
利用可能なオプションとコマンドは次のとおりです。Parted コマンドの使用方法の詳細については、「Parted Session コマンド」を参照してください。オプションはハイフンで始まりますが、コマンドは次のようなものではありません。
オプション:
'-h'
'- ヘルプ'
ヘルプメッセージを表示する
'-l'
'- リスト'
すべてのブロックデバイス上のパーティションレイアウトをリストします。
'-m'
'- 機械'
出力を機械で解析可能な形式で表示する
'-j'
'--json'
JSON形式で出力を表示する
'-s'
'- 脚本'
ユーザーにプロンプトを表示しない
'-f'
'- 修理'
スクリプト モードで「修正」を使用して例外に自動的に応答します。これは次の場合に役立ちます。 GPT ヘッダーにディスク全体のサイズが含まれていない。バックアップ GPT テーブルをディスクの最後に移動します。MAC はパーティション マップ エントリの欠落を修正しました。等
'-a アライメントタイプ'
'--align 配置タイプ'
新しく作成されたパーティションのアライメントを設定します。有効なアライメント タイプは、なし、シリンダー、最小、最適です。
'-v'
'- バージョン'
バージョンを表示する
Options:
‘-h’
‘--help’
display a help message
‘-l’
‘--list’
lists partition layout on all block devices
‘-m’
‘--machine’
display output in machine parseable format
‘-j’
‘--json’
display output in JSON format
‘-s’
‘--script’
never prompt the user
‘-f’
‘--fix’
automatically answer exceptions with "fix" in script mode, which is useful for: GPT header not including full disk size; moving the backup GPT table to the end of the disk; MAC fix missing partition map entry; etc.
‘-a alignment-type’
‘--align alignment-type’
Set alignment for newly created partitions, valid alignment types are: none, cylinder, minimal and optimal.
‘-v’
‘--version’
display the version
コマンド ラインから呼び出すと、Parted は次の構文をサポートします。
#parted [option] device [command [argument]]
利用可能なオプションとコマンドは次のとおりです。Parted コマンドの使用方法の詳細については、「Parted Session コマンド」を参照してください。オプションはハイフンで始まりますが、コマンドは次のようなものではありません。
オプション:
'-h'
'- ヘルプ'
ヘルプメッセージを表示する
'-l'
'- リスト'
すべてのブロックデバイス上のパーティションレイアウトをリストします。
'-m'
'- 機械'
出力を機械で解析可能な形式で表示する
'-j'
'--json'
JSON形式で出力を表示する
'-s'
'- 脚本'
ユーザーにプロンプトを表示しない
'-f'
'- 修理'
スクリプト モードで「修正」を使用して例外に自動的に応答します。これは次の場合に役立ちます。 GPT ヘッダーにディスク全体のサイズが含まれていない。バックアップ GPT テーブルをディスクの最後に移動します。MAC はパーティション マップ エントリの欠落を修正しました。等
'-a アライメントタイプ'
'--align 配置タイプ'
新しく作成されたパーティションのアライメントを設定します。有効なアライメント タイプは、なし、シリンダー、最小、最適です。
'-v'
'- バージョン'
バージョンを表示する
Options:
‘-h’
‘--help’
display a help message
‘-l’
‘--list’
lists partition layout on all block devices
‘-m’
‘--machine’
display output in machine parseable format
‘-j’
‘--json’
display output in JSON format
‘-s’
‘--script’
never prompt the user
‘-f’
‘--fix’
automatically answer exceptions with "fix" in script mode, which is useful for: GPT header not including full disk size; moving the backup GPT table to the end of the disk; MAC fix missing partition map entry; etc.
‘-a alignment-type’
‘--align alignment-type’
Set alignment for newly created partitions, valid alignment types are: none, cylinder, minimal and optimal.
‘-v’
‘--version’
display the version