-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

my 2 cents:

| So if for example I copied everything over to a different hard drive and
| then copied everything back, it would be "defragmented" then?

I think so yes, but still I would not do it as I think you will hardly
notice the difference, but there is a good chance to screw things up.

| I would think of something like this:
|
| Boot some live CD.
| Mount old and backup drives.
| Copy old drive to a backup drive using cp -av yada yada.

Its very important to do this as root and preserve all the file
permissions and symbolic links exactly as they are on the drive.
In particular the backup file system must support all this.
(You cannot backup to a FAT file system, etc.)

the cp option "-b" could help, but surely you should read
man cp
and
man mount

| Make a new file system on the old drive to make sure all is clean.
| Copy everything back over from the backup to the old drive using cp -av
| yada yada.
|
| I would also take the opportunity to redo a few partitions while I was
| able to.

If you do so don't forget to update /etc/fstab
and the configuration of the bootloader !

| The biggest slow down by the way is when logging into KDE the first
| time.  It takes a long while and that drive is just a getting it.  The
| light just stays on while loading everything up.

I personally think this is not due to fragmentation.
On loading KDE just preloads some big libraries (it is a big program :)
and this takes some time.
Furthermore the libraries are loaded with "LD_BIND_NOW=true", which
makes the linker resolve all the symbols when KDE starts. (KDE takes
longer to load, but later the programs are loaded faster).
You can google for that to learn what it means.

Hope it helps a little
Thomas

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHtDqdrpEWPKIUt7MRAkV6AKCLrm/tVj7KjM4ElHCqc0Zf/gRoxwCdEI1F
jtPhK0NUmeRBcP5giKMb2JI=
=Dg/q
-----END PGP SIGNATURE-----
--
gentoo-user@lists.gentoo.org mailing list

Reply via email to