I need to make a copy of a working linux system, which (being contained in /, and the new place is prepared in /mnt/sdb5) seems to contain considerable amount of hard-, soft-links and special files in /dev; would cpio
handle this job without applying additional magic?
Currently known safeguards:
- not going to remove/modify running system until the moment the copy is considered bootable and working with
root=/dev/sdb5
; before removing, take a full partition backup. - will use cpio for archiving each root directory separately, thus will unpack it from LiveCD environment so donor partition will not be harmed
But still, not going to lose time just because cpio missed some flag and crippled the permissions/node type/soft or hardlink.
Which tool to use / which underwater rocks to avoid?