]> err.no Git - util-linux/commit
mkswap: set UUID for swap space (add -U option)
authorMartin Schulze <joey@infodrom.org>
Sun, 27 Jan 2008 06:31:06 +0000 (23:31 -0700)
committerKarel Zak <kzak@redhat.com>
Fri, 15 Feb 2008 00:31:50 +0000 (01:31 +0100)
commit93bf0f285d2479a9cccfa569d0fa70377b531f81
tree6df4473ade57cd46c5fc563afa5fac708c9bc7f3
parentc3327025169a7c6c59edce7eb271a333c42b5275
mkswap: set UUID for swap space (add -U option)

A friend of mine is looking into the possibility of cloning Debian
(and other) systems automatically and stomped over swap partitions
getting assigned new UUIDs every time the new harddisk is partitioned
and swap is created.

It's essential when partitions are to be recognised by their uuid and
not by their old device path anymore.

Addresses-Ubuntu-Bug: #66637
Signed-off-by: LaMont Jones <lamont@debian.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
disk-utils/mkswap.8
disk-utils/mkswap.c