Show Table of Contents
18.2.4. マウントポイントを移動する
ファイルシステムがマウントされているディレクトリーを変更するには、次のコマンドを使用します。
mount--moveold_directory new_directory
使用例については 例18.8「既存の NFS マウントポイントを移動する」 を参照してください。
例18.8 既存の NFS マウントポイントを移動する
NFS ストレージにはユーザーのディレクトリーが含まれ、すでに
/mnt/userdirs/ にマウントされています。root として、次のコマンドを使用してこのマウントポイントを /home に移動します。
~]# mount --move /mnt/userdirs /home
マウントポイントが正しく移動したことを確認するため、両方のディレクトリーのコンテンツを表示させます。
~]#ls /mnt/userdirs~]#ls /homejill joe

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.