If you look in the 'man mount' page, remount is an option.
Here is the description of the option:
remount
Attempt to remount an already-mounted file system. This is commonly used to change the mount flags for a file system, especially to make a readonly file system writeable. It does not change device or mount point.
If what you want to do is change the mount point somewhere else you need to use the --move or --bind option.
Since Linux 2.4.0 it is possible to remount part of the file hierarchy somewhere else. The call is
mount --bind olddir newdir
After this call the same contents is accessible in two places.
Since Linux 2.5.1 it is possible to atomically move a subtree to another place. The call is
mount --move olddir newdir
Of course, check the man page on your system to verify that these options exist on your system.
Recently, I upgraded to a AMD 64 system, and installed a newer version of the same distro I used before. One of the options ( -T ) for the man command are missing on the new system, so always double check information from a man page you read on the web.
|