Difference between revisions of "Defragment"
From Linuxintro
imported>ThorstenStaerk (New page: To defragment your filesystem, use the tool shake: * Download it from http://vleu.net/shake/ * unpack it: bunzip2 shake-0.99.tar.bz2 tar xvf Desktop/shake-0.99.tar) |
imported>ThorstenStaerk |
||
(One intermediate revision by the same user not shown) | |||
Line 4: | Line 4: | ||
* unpack it: | * unpack it: | ||
bunzip2 shake-0.99.tar.bz2 | bunzip2 shake-0.99.tar.bz2 | ||
− | tar xvf | + | tar xvf shake-0.99.tar |
+ | * install dependencies, e.g. for SUSE Linux: | ||
+ | yast -i help2man | ||
+ | * build it | ||
+ | cd shake* | ||
+ | cmake . | ||
+ | make -j4 && make install | ||
+ | * find out the fragmentation of a file | ||
+ | tweedleburg:~/shake-0.99 # filefrag main.c | ||
+ | main.c: 1 extent found | ||
+ | * run shake | ||
+ | tweedleburg:~/shake-0.99 # shake main.c | ||
+ | tweedleburg:~/shake-0.99 # |
Latest revision as of 12:52, 8 November 2009
To defragment your filesystem, use the tool shake:
- Download it from http://vleu.net/shake/
- unpack it:
bunzip2 shake-0.99.tar.bz2 tar xvf shake-0.99.tar
- install dependencies, e.g. for SUSE Linux:
yast -i help2man
- build it
cd shake* cmake . make -j4 && make install
- find out the fragmentation of a file
tweedleburg:~/shake-0.99 # filefrag main.c main.c: 1 extent found
- run shake
tweedleburg:~/shake-0.99 # shake main.c tweedleburg:~/shake-0.99 #