Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Compressed filesystem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Carnildo
Guru
Guru


Joined: 17 Jun 2004
Posts: 594

PostPosted: Thu May 01, 2008 11:25 pm    Post subject: Compressed filesystem Reply with quote

Is there such a thing as a compressed filesystem for Linux, similar to the old MS-DOS "DoubleSpace" software?
Back to top
View user's profile Send private message
BradN
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2391
Location: Wisconsin (USA)

PostPosted: Thu May 01, 2008 11:41 pm    Post subject: Reply with quote

Short answer: not that I'm aware of

Longer answer: Yes (squashfs), but it's read-only after it's initially created. It's great for livecd's but it's probably not what you're looking for.
Back to top
View user's profile Send private message
timeBandit
Bodhisattva
Bodhisattva


Joined: 31 Dec 2004
Posts: 2719
Location: here, there or in transit

PostPosted: Fri May 02, 2008 1:02 am    Post subject: Reply with quote

Another answer: Yes. See FuseCompress.
The forum thread is pretty old but the filesystem is still alive--the homepage shows an update released just last month. Can't tell you whether it's any good.
_________________
Plants are pithy, brooks tend to babble--I'm content to lie between them.
Super-short f.g.o checklist: Search first, strip comments, mark solved, help others.
Back to top
View user's profile Send private message
tarpman
Veteran
Veteran


Joined: 04 Nov 2004
Posts: 1083
Location: Victoria, BC, Canada

PostPosted: Fri May 02, 2008 7:53 am    Post subject: Reply with quote

There is also the compression plugin for reiser4.
_________________
Saving the world, one kilobyte at a time.
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6111
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Fri May 02, 2008 10:14 am    Post subject: Reply with quote

tarpman wrote:
There is also the compression plugin for reiser4.


++

you need to select the plugin before using the filesystem

:arrow: you need to reformat when switching from default to compression plugin and the other way around afaik

if you're more interested ask Edward Shishkin who's currently the lead developer for reiser4, I believe
_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Back to top
View user's profile Send private message
nick24
n00b
n00b


Joined: 10 Nov 2007
Posts: 24

PostPosted: Tue May 13, 2008 10:32 pm    Post subject: Reply with quote

I think that squashfs can be useful in certain situations. There's a nice guide on how to use squashfs and unionfs to shrink your portage tree tenfold in the Gentoo Wiki. It wouldn't be the best idea for compressing your whole filesystem at once, because it readonly and must be recreated after you edit it. Still, it has a very good compression ratio for the amount of processor time needed to extract it, and increases disk throughput and cache effectiveness because less data has to be read.

Here's the Wiki guide URL: http://gentoo-wiki.com/HOWTO_VERY_small_Portage_Tree_with_SquashFS_and_UnionFS

I also use it for backups because if a partition is wiped out I can simply mount the squashfs over it without dealing with long tarball extractions. It is also conveniently stored in a file under another filesystem, which means you can have a whole bunch of virtual squashed partitions without repartitioning.
Back to top
View user's profile Send private message
BradN
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2391
Location: Wisconsin (USA)

PostPosted: Wed May 14, 2008 12:23 am    Post subject: Reply with quote

I've used squashfs sucessfully to make a < 200MB "neutered" gentoo install for old 586/686 systems sitting around that can do X+firefox+abiword+pidgin and a few other smaller things. It's neutered in the sense that compilation can no longer be done on the target system - instead there's a chroot install on my main machine where it's updated, then rsync'd over.

(the main details are that just /usr is squashfs'd, and there are tons and tons of excluded files/directories when building the squashfs and rsyncing the root partition)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum