此内容没有您所选择的语言版本。
2.2.4. Moving a Mount Point
To change the directory in which a file system is mounted, use the following command:
mount
--move
old_directory new_directory
See Example 2.8, “Moving an Existing NFS Mount Point” for an example usage.
Example 2.8. Moving an Existing NFS Mount Point
Imagine that you have an NFS storage that contains user directories. Assuming that this storage is already mounted in
/mnt/userdirs/
, as root
, you can 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 /home
jill joe