Codebase list partman-auto / bdeb74b
Move the cleanup of LVM and MD devices out of create_new_label() The cleanup of LVM and MD devices is now done in a separate function, prepare_new_labels() that needs to be called before create_new_label(). This function handle multiple devices at once. r55258 Jérémy Bobbio 15 years ago
2 changed file(s) with 3 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
1010 * create_primary_partitions() and create_partitions() now add dm-crypt
1111 devices to $pv_devices when using the "crypto" method, like it is done for
1212 LVM.
13 * Call prepare_new_labels() before calling create_new_label().
14 Depends: partman-partitioning (>= 62)
1315
1416 -- Jérémy Bobbio <[email protected]> Fri, 01 Aug 2008 22:49:11 +0000
1517
55
66 # Create new disk label; don't prompt for label
77 . /lib/partman/lib/disk-label.sh
8 prepare_new_labels "$dev" || return 1
89 create_new_label "$dev" no || return 1
910
1011 cd $dev