On 02/03/2013 03:12 PM, Anuz Pratap Singh Tomar wrote:
On Sun, Feb 3, 2013 at 2:03 AM, horseriver <horserivers@gmail.com <mailto:horserivers@gmail.com>> wrote:
hi:
Is there mothod to look into a image file ? How can I know its filesystem?
I have mounted my fd0 to /mnt with -t tmpfs ,but I find nothing under /mnt.How can I touch the files in image?
I think you need to mount it as loopback device http://www.andremiller.net/content/mounting-hard-disk-image-including-partit...
thanks!
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org <mailto:Kernelnewbies@kernelnewbies.org> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
-- Thank you Warm Regards Anuz
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Hi, in case of image with multiple partitions, easier to use kpartx, then get the offsets with parted: http://ppadala.net/blog/2010/09/kpartx-to-mount-vm-disk-images/ of course with image with one partition, it doesn't matter -- br, Zoltan Gyarmati mail: mr.zoltan.gyarmati@gmail.com freenode nick: zgyarmati