From 60c81b3272d03959dfee465f1ecaf40ba3e70cb3 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Wed, 21 Jun 2023 10:57:37 +0200 Subject: [PATCH] sfdisk: add hint about duplicate UUIDs when use dump Signed-off-by: Karel Zak --- disk-utils/sfdisk.8.adoc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/disk-utils/sfdisk.8.adoc b/disk-utils/sfdisk.8.adoc index 2b220acc05..f586d618b0 100644 --- a/disk-utils/sfdisk.8.adoc +++ b/disk-utils/sfdisk.8.adoc @@ -366,6 +366,8 @@ ____ *sfdisk /dev/sda < sda.dump* ____ +Note that sfdisk completely restores partition types and partition UUIDs. This could potentially become problematic if you duplicate the same layout to different disks, as it may result in duplicate UUIDs within your system. + === Full binary backup If you want to do a full binary backup of all sectors where the partition table is stored, then use the *--backup-pt-sectors* command. It writes the sectors to _~/sfdisk--.bak_ files. The default name of the backup file can be changed with the *--backup-file* option. The backup files contain only raw data from the _device_. For example: -- 2.47.2