On 02/03/2013 03:12 PM, Anuz Pratap Singh Tomar wrote: > > > On Sun, Feb 3, 2013 at 2:03 AM, horseriver <[email protected] > <mailto:[email protected]>> 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-partitions-using-linux > > > > > thanks! > > _______________________________________________ > Kernelnewbies mailing list > [email protected] > <mailto:[email protected]> > http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies > > > > > -- > Thank you > Warm Regards > Anuz > > > _______________________________________________ > Kernelnewbies mailing list > [email protected] > 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: [email protected] freenode nick: zgyarmati _______________________________________________ Kernelnewbies mailing list [email protected] http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
