Home
Packages
Forums
Wiki
GitLab
Security
AUR
Download
コンテンツにスキップ
メインメニュー
メインメニュー
サイドバーに移動
非表示
案内
メインページ
目次
コミュニティに貢献
最近の出来事
おまかせ表示
特別ページ
交流
ヘルプ
貢献
最近の更新
最近の議論
新しいページ
統計
リクエスト
ArchWiki
検索
検索
表示
アカウント作成
ログイン
個人用ツール
アカウント作成
ログイン
Partedのソースを表示
ページ
議論
日本語
閲覧
ソースを閲覧
履歴を表示
ツール
ツール
サイドバーに移動
非表示
操作
閲覧
ソースを閲覧
履歴を表示
全般
リンク元
関連ページの更新状況
ページ情報
表示
サイドバーに移動
非表示
←
Parted
あなたには「このページの編集」を行う権限がありません。理由は以下の通りです:
この操作は、次のグループに属する利用者のみが実行できます:
登録利用者
。
このページのソースの閲覧やコピーができます。
[[Category:ファイルシステム]] [[Category:システムリカバリ]] [[en:GNU Parted]] {{Related articles start}} {{Related|GParted}} {{Related|パーティショニング}} {{Related articles end}} GNU Parted はパーティションテーブルを作成したり操作するためのプログラムです。GUI フロントエンドとして [[GParted]] が存在します。 == インストール == [[公式リポジトリ]]から {{Pkg|parted}} を[[インストール]]してください。 == 使用方法 == Parted には2つのモードがあります: コマンドラインモードとインタラクティブモードです。Parted は以下のように実行します: # parted device {{ic|''device''}} は編集するハードディスクデバイスに置き換えて下さい (例: {{ic|/dev/sda}})。{{ic|''device''}} を省略すると、''parted'' が編集するデバイスを推測します。 === コマンドラインモード === コマンドラインモードでは、1つまたは複数のコマンドを指定します。例: # parted /dev/sda mklabel gpt mkpart P1 ext3 1MiB 8MiB {{Note|({{ic|--help}} などの) オプションはコマンドラインでだけ指定することが可能です。}} === インタラクティブモード === インタラクティブモードでは、コマンドを1つずつ入力し、すぐにディスクに変更が適用されます。例: (parted) mklabel gpt (parted) mkpart P1 ext3 1MiB 8MiB {{Tip|いくつか省略形が存在します。例えば、{{ic|print}} の代わりに {{ic|p}} と入力したり、{{ic|units}} の代わりに {{ic|u}} と入力することが可能です。}} コマンドにパラメータを指定しなかった場合、Parted はパラメータを尋ねます。例: (parted) mklabel New disk label type? gpt == ラウンディング == Since many partitioning systems have complicated constraints, Parted will usually do something slightly different to what you asked. (For example, create a partition starting at 10.352Mb, not 10.4Mb) If the calculated values differ too much, Parted will ask you for confirmation. If you know exactly what you want, or to see exactly what Parted is doing, it helps to specify partition endpoints in sectors (with the "s" suffix) and give the "unit s" command so that the partition endpoints are displayed in sectors. As of parted-2.4, when you specify start and/or end values using IEC binary units like “MiB”, “GiB”, “TiB”, etc., parted treats those values as exact, and equivalent to the same number specified in bytes (i.e., with the “B” suffix), in that it provides no “helpful” range of sloppiness. Contrast that with a partition start request of “4GB”, which may actually resolve to some sector up to 500MB before or after that point. Thus, when creating a partition, you should prefer to specify units of bytes (“B”), sectors (“s”), or IEC binary units like “MiB”, but not “MB”, “GB”, etc. == ワーニング == Parted will always warn you before doing something that is potentially dangerous, unless the command is one of those that is inherently dangerous (viz., rm, mklabel and mkpart). === アライメント === When creating a partition, ''parted'' might warn about improper partition alignment but does not hint about proper alignment. For example: (parted) mkpart primary fat16 0 32M Warning: The resulting partition is not properly aligned for best performance. Ignore/Cancel? The warning means the partition start is not aligned. Enter "Ignore" to go ahead anyway, print the partition table in sectors to see where it starts, and remove/recreate the partition with the start sector rounded up to increasing powers of 2 until the warning stops. As one example, on a flash drive with 512B sectors, Parted wanted partitions to start on sectors that were a multiple of 2048, which is 1MB alignment. == 参照 == * [https://www.gnu.org/software/parted/manual/ GNU parted - Parted ユーザーマニュアル] * [http://rainbow.chard.org/2013/01/30/how-to-align-partitions-for-best-performance-using-parted/ How to align partitions for best performance using parted]
このページで使用されているテンプレート:
テンプレート:Ic
(
ソースを閲覧
)
テンプレート:META Related articles start
(
ソースを閲覧
)
テンプレート:Note
(
ソースを閲覧
)
テンプレート:Pkg
(
ソースを閲覧
)
テンプレート:Related
(
ソースを閲覧
)
テンプレート:Related articles end
(
ソースを閲覧
)
テンプレート:Related articles start
(
ソースを閲覧
)
テンプレート:Tip
(
ソースを閲覧
)
テンプレート:Warning
(
ソースを閲覧
)
Parted
に戻る。
検索
検索
Partedのソースを表示
話題を追加