18.2.4. Moving a Mount Point
18.2.4. Moving a Mount Point To change the directory in which a file system is mounted, use the following command: 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: To verify the mount point has been moved, list the content of both directories:
mount --move old_directory new_directory ~]# mount --move /mnt/userdirs /home ~]# ls /mnt/userdirs ~]# ls /home jill joe