Mailinglist Archive: opensuse (2008 mails)

< Previous Next >
Re: [opensuse] Exporting KMail folders etc, Revisited
  • From: "Carlos E. R." <robin.listas@xxxxxxxxxxxxxx>
  • Date: Sat, 25 Apr 2009 14:31:29 +0200 (CEST)
  • Message-id: <alpine.LSU.2.00.0904251423000.4850@xxxxxxxxxxxxxxxx>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



On Friday, 2009-04-24 at 22:04 +0300, Stan Goodman wrote:

...

Potential problem is that dd doesn't check much ahead of transfer, if
sdb3 is just a sector shorter then sda3, the result can be error
message, or overwritten begin of the next partition. I can't tell which
will be the case, although I would expect error message, and partition
most probably in tact, ie. usable. The same is problem in case of any
typo, it will diligently overwrite target without questions.

The v11.1/home partition is set to be larger than the v10.3/home.

Notice that if you dd a partition to another, and say, source is 1 GiB, and destination is, say, 2 GiB, the end result is a filesystem that "thinks" it has only 1 GiB and wastes the other 1 GiB.

If the situation is the reverse, dd will stop at 1 GiB (1), but the resulting filesystem will be broken, because it thinks it has 2 GiB.


As you are copying files, you should be better using a file copy tool, like rsync. Or even midnight commander.

Or you could use clonezilla.


(1) "dd if=/dev/sda3 of=dev/sdb3" knows about the size of destination and does not overwrite a partition. Or rather, the kernel will not allow writing past the end of the destination partition.

- -- Cheers,
Carlos E. R.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAknzAqMACgkQtTMYHG2NR9XfngCdHI2PSVvYkq7RlB6TXjwraGdz
rRsAnR+bL2VBa6nxwdkI5Z9RXYGOEajV
=BigT
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups