On Wed, 2006-04-19 at 12:10 +0200, Jan de Groot wrote:
> On Wed, 2006-04-19 at 10:53 +0200, Vasile Rotaru wrote:
> > Just a thought.. It is strictly necessary to tar/untar a whole partition
> > to defrag it? Wouldn't it work directory-wise?
> 
> Directory-wise should work, it works with the pacman database too. When
> you cp -a a directory, rm -rf the old one and then mv the new one back
> to the old location. Be sure to not try this with /lib, as it will get
> rid of your glibc then ;)

And if using a statically linked shell?

exec ash-static && cp -a /lib /defrag-lib && rm -rf /lib &&
mv /defrag-lib /lib

Or copying a glibc to /root and setting the LD_LIBRARY_PATH ..

Not that I'm going to do this now.. ;)

And IMHO /lib is cached in memory early in the boot process so it's not
a bid deal anyway..



_______________________________________________
arch mailing list
[email protected]
http://www.archlinux.org/mailman/listinfo/arch

Reply via email to