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 (192.168.10.15/Softwares) temporary (directory - /mnt)

 

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

 

mount permanently (vim /etc/fstab)

 

//192.168.0.67/test /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.