From: Michael D. S. I. <mi...@ku...> - 2009-02-23 19:10:15
|
On 23 Feb 2009 at 15:04, ton...@le... wrote: From: ton...@le... To: "list, g4l" <g4l...@li...> Date sent: Mon, 23 Feb 2009 15:04:07 +0000 Subject: [G4l-general] mount > With some image files I can do a > > mount -t ext3 -o loop myimage.img /mnt/myimage > > but when I try with a g4l image this does not work. I think at least > one reason is because it is compressed with lzop. Is there any way > to mount this image so you can view the contents, without writing it > back to a hard drive? > > You are correct that the image is compressed by default, so the mount command would not be able to mount the compressed image. I have done this, but it required uncompressing the image file first. lzop -d myimage.img.lzo >myimage.img Then the uncompressed image file could be mounted as you mentioned. Unfortunately, the uncompressed image file would have to use the same space as the original partition, so even though the image might be 2GB compressed, if it is an image of a 40GB partition, it would need 40GB of space. I don't know if there is a method to have it do the uncompression live, but I have done the above. > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > G4l-general mailing list > G4l...@li... > https://lists.sourceforge.net/lists/listinfo/g4l-general +----------------------------------------------------------+ Michael D. Setzer II - Computer Science Instructor Guam Community College Computer Center mailto:mi...@ku... mailto:mse...@gm... http://www.guam.net/home/mikes Guam - Where America's Day Begins +----------------------------------------------------------+ http://setiathome.berkeley.edu (Original) Number of Seti Units Returned: 19,471 Processing time: 32 years, 290 days, 12 hours, 58 minutes (Total Hours: 287,489) BOINC@HOME CREDITS SETI 7,429,003.0872 | EINSTEIN 2,346,760.7309 | ROSETTA 795,450.1247 |