File system compression, mounting a compressed file as a loop device.

File system compression, mounting a compressed file as a loop device.

Post by Andre Weigan » Sat, 15 Feb 2003 01:25:51



Dear Newsgroup,

I'm developing an internet appliance, which should linux from a flash
disk (Disk-On-Module) or compact flash (CF). As I understood from
other postings, it is not a good idea at all to mount the file system
read/write. So I'm going to create a ramdisk for /tmp /var etc... and
mount the flash read-only. But some points are still not quite clear
to me:

I want to compress the data on flash to be able to use a smaller
flash; Which methods are avaliable on linux? I found info on e2compr,
but it is not (yet?)avaliable for 2.4.* kernel, which I need to use
because of some special hardware...

Can I mount transparantly a compressed file (gzip or bzip2) as a
loop-device?

I will greatly appreciate any help!

Best regards,

Andre Weigndt

 
 
 

File system compression, mounting a compressed file as a loop device.

Post by Lewin A.R.W. Edwar » Sun, 16 Feb 2003 02:00:44


Quote:> I want to compress the data on flash to be able to use a smaller
> flash; Which methods are avaliable on linux? I found info on e2compr,

initrd supports loading a RAM disk filesystem from a compressed image,
if that helps.

 
 
 

1. Mount compressed file as a loop device (mount -o loop.. )

Dear NG,

is it possible to mount transparantly a compressed file (bzip2 or
gzip) as loop device? Something like mount -o loop myfile.gz
/tmp/myfolder ? I want use it to save space on a flash disk.

I wouldn't mind to use other options / compressions to save space on
flash. Could somebody point me to some information on it? I found
myself about e2compr, but it isn't supported for 2.4* kernel.

Any help would be greatly appreciated.

Andre

2. ATI GW and Mach64 problems

3. Mounting file system twice through loop device

4. new keyboard managing on X

5. Real file stats for file on a compressed file system

6. Non IBM Scsi Disk and memory

7. Enhanced Filing system - file system like DEC Advanced File system for Linux

8. Inactivity timeout on HP-UX telnet connections.

9. loop device/file: how to mount?

10. Are there any compressed "in-file" file systems available in Linux?

11. Mounting root on a loop device (file)?

12. Are there any compressed "in-file" file systems available in Linux?

13. Samba clients can't see partitions mounted via loop device from image files