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.