Show Table of Contents
18.2.4. Moving a Mount Point
To change the directory in which a file system is mounted, use the following command:
mount--moveold_directory new_directory
See Example 18.8, “Moving an Existing NFS Mount Point” for an example usage.
Example 18.8. Moving an Existing NFS Mount Point
An NFS storage contains user directories and is already mounted in
/mnt/userdirs/. As root, move this mount point to /home by using the following command:
~]# mount --move /mnt/userdirs /home
To verify the mount point has been moved, list the content of both directories:
~]#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.