The mount command is used to mount the file system in sequence under the server main root / partition as per partition required by the clients like plain server mounting all the partition under the / root partition but cPanel/Plesk panel required the following file system structure.
For cPanel control panel
/
/var
/usr
swap
/tmp
/home
For Plesk panel
/
/ usr
swap
/tmp
/var
To mount the above partiton all the label name and file type entries are stored under the file /etc/fstab, so that when ever server rebooted file system will be mounted as per entry present under the /etc/fstab file.
Some time while maintaining the server, we have to mount the file system manually at that time following options will be used.
mount -t type device dir
In above command the -t option is used for the file system type to mount the directory and some time if you don’t want to give users to write any files present under the specific partition like backup etc than you can refer the following command to mount the file system in read only mode, so that no one can make the changes.
mount -r type device dir