if you are interested to contribute your LAB PROGRAM Please send mail to jkumaron@gmail.com

Linux Mount Command Read -r Write -w Print version -V List -l Help -h Verbose -v Mount File system -a Rhel5

In the Linux before you need to use any device or resource you need to mount that device or file system then only you can use the specified resource.
For these purpose Linux Mount command has been used.
Mount command Different option
-r read only mounted file system
-w write write only mounted file system
-a it will mount the file system as per /etc/fstab (files sytem) /etc/mtab (mount) file
it will ignore file system which contain key word noauto

support-rhel5 ~ # mount -a (refresh the mount file system)
if you change anything in fstab then if you need to refresh the mount file system
you can use the mount -a command it mounted file system as per /etc/fstab file
mount -a
V Refer to the version
support-rhel5 ~ # mount -V
mount from util-linux-ng 2.14.2 (with libvolume_id and selinux support
-h help for mount command and different option
support-rhel5 ~ # mount -h
Usage: mount -V : print version
mount -h : print this help
mount : list mounted filesystems
mount -l : idem, including volume labels
mount --make-shared dir
mount --make-slave dir
mount --make-private dir
mount --make-unbindable dir
mount --make-rshared dir
mount --make-rslave dir
mount --make-rprivate dir
mount --make-runbindable dir
mount -a [-t|-O] ... : mount all stuff from /etc/fstab
mount device : mount device at the known place
mount directory : mount known device here
mount -t type dev dir : ordinary mount command

support-rhel5 ~ # mount -l
It will list out all the mounted File system and device.
support-rhel5 ~ # mount -o acl,remount /
-l List the all the mounted file system.
How to use mount command different option help bash
support-rhel5 ~ #mount -o
In the mount command if you use more that two string then you can need to use comma ','
for these purpose you can use -o option 
It is used for the ACL access control list
Refer the Link  Linux ACL configuration tutorial

Related post