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.