Codebase list partman-auto / 55d5748
Move get_last_free_partition_infos() out of auto_init_disk() autopartition and auto_lvm_prepare() has been updated accordingly. Based on a patch by Grégory Oestreicher. r55260 Jérémy Bobbio 15 years ago
3 changed file(s) with 10 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
1818 choose_recipe default "$target" "$free_size" || exit $?
1919
2020 auto_init_disk "$dev" || exit $?
21 get_last_free_partition_infos $dev
2122 else
2223 # Two parameters, being run on selected free space.
2324 free_space=$2
1212 LVM.
1313 * Call prepare_new_labels() before calling create_new_label().
1414 Depends: partman-partitioning (>= 62)
15 * Move get_last_free_partition_infos() out of auto_init_disk() in
16 lib/auto-shared.sh. autopartition has been updated accordingly.
17 Based on a patch by Grégory Oestreicher.
18 Breaks: partman-auto-lvm (<< 29)
1519
1620 -- Jérémy Bobbio <[email protected]> Fri, 01 Aug 2008 22:49:11 +0000
1721
77 . /lib/partman/lib/disk-label.sh
88 prepare_new_labels "$dev" || return 1
99 create_new_label "$dev" no || return 1
10 }
11
12 get_last_free_partition_infos() {
13 local dev
14 dev="$1"
1015
1116 cd $dev
1217