Re: Moving root partition to another drive
27 Oct
2022
27 Oct
'22
2:32 p.m.
On Thu, 2022-10-27 at 16:06 +0200, Maarten de Vries wrote: [snip] Maarten, you did not reply to the mailing list ;).
On 27/10/2022 16:02, Ralf Mardorf wrote:
5. Verify the copy by running
# diff -r --no-dereference /mnt/old/ /mnt/new/
PS: I'm not sure, if diff might warn about missing sockets or similar. If "cp -a" returned exit status 0, the copy is most likely ok, running diff isn't necessarily needed. If tar --xattrs... returns exit status 0, you can't trust it. After doing a backup by tar always (try to) open the archive. However, making a backup using tar first and then restoring from the archive doesn't make sense at all.
770
Age (days ago)
770
Last active (days ago)
0 comments
1 participants
participants (1)
-
Ralf Mardorf