Mount in Centos 7

How to mount iso file in linux

~mount -o loop path/to/iso/file/YOUR_ISO_FILE.ISO /media/iso


How to mount particular folder from network

mount local ip ( temporary (directory - /mnt)


mount -t cifs // /mnt/ -o username=chirag.tomar


mount permanently (vim /etc/fstab)


// /home/pi/test cifs username=myname,password=123456789,iocharset=utf8,sec=ntlm 0 0


How to umount forcefully

sudo umount -a


Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.