omnisecu.com free mcse ccna rhce linux java learning  
Home Knowldege Base FAQ Contact Us Sitemap
omnisecu.com free mcse ccna rhce linux java learning  
omnisecu.com free mcse ccna rhce linux java learning
Home » Knowledge Base » Linux » RedHat Certified Engineer (RHCE) » Linux mount and umount commands
 

Linux mount and umount commands

 

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

 

 

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

 


eXTReMe Tracker

back
next
 
Disclaimer | Feed Back | Trademarks | Knowledge Base | FAQ | Sitemap | Downloads