Hi ashish
You can use command losetup for mounting the image. The syntax for losetup is
losetup <loop device> <image name>. Loop devices can be
/dev/loop{0,1,2,3,4,5,6,7}. If you know the major number or minor number you
can create more loop devices. In your case the proper syntax will be
losetup /dev/loop0 logvol.img
mkdir /test
mount /dev/loop0 /test
Now all your data will be under /test. If you want to detach the loop device,
first unmount the mount point where loop device is mounted and then use losetup
-d /dev/loop{number}. -d flag is for detach. For more reference use man
losetup.
--
Thanks & Regards,
Kush Wadhwa - RHCE, CEH
Security Analyst - NII Consulting
Mobile : 09819135494
E-mail to : [EMAIL PROTECTED]
[EMAIL PROTECTED]
Web site : www.niiconsulting.com
=================================================================
Reply to - Network Intelligence India Pvt. Ltd.
2 nd floor, Sawant House,
Andheri - Kurla Road,
Chakala, Andheri (East),
Mumbai - 400099
(Tel) +9122 2839 26 28
+9122 4005 26 28
(Fax) +9122 5620 26 28