OmniSecu.com Logo  
omnisecu.com free mcse ccna rhce linux java learning
omnisecu.com free mcse ccna rhce linux java learning
          Sharefacebook twitter google+ google bookmark yahoo bookmark delicious digg linkedin pinterest reddit stumbleupon evernote diigo blinklist blogmarks livejournal email feed

Tutorials

Linux mount and umount commands

External Resources

To mount a device or partition, the mount command is used. The mount command provides large number of options and the common pattern for mount command is shown below.

mount options device directory

Example:

[root@RHEL06 ~]# mount -t iso9660 -o ro /dev/cdrom /mnt/cdrom

/dev/cdrom is a device file associated with CD-ROM drive. The directory /mnt/cdrom is a directory conventionally used as the mounting point for CD-ROMs. The type of filesystem found on most CD-ROMs is iso9660, and that value is provided with -t option. The -o option, ro, states that the filesystem is read-only.

Refer the next link to learn about different Linux mount options.

To umount an already mounted device, you can use “umount” command.

Example:

[root@RHEL06 ~]# umount /dev/cdrom

Or

[root@RHEL06 ~]# umount /mnt/cdrom

              Jajish Thomason Google+
Related Topics
Linux File System Management Tools - fdisk command Linux File System Management Tools - mkfs, mkfs.ext2, mkfs.ext3 commands What is file system journaling? Linux File System Management Tools - fsck command Introduction to Linux /etc/fstab file Linux mount options
comments powered by Disqus


eXTReMe Tracker DMCA.com