Show Table of Contents
C.4.5. マップしたデバイス上にファイルシステムを作成、またはマップしたデバイスを使用して複雑なストレージ構造の構築を継続する
マップしたデバイスノード (
/dev/mapper/<name>) を他のブロックデバイスと同様に使用します。マップしたデバイス上に ext2 ファイルシステムを作成するには、以下のコマンドを使用します。
mke2fs /dev/mapper/<name>
このファイルシステムを
/mnt/test にマウントするには、以下のコマンドを使用します。
重要
このコマンドを実行する前にディレクトリ
/mnt/test が存在している必要があります。
mount /dev/mapper/<name> /mnt/test

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.