3
. /lib/partman/lib/base.sh
7
for dev in $DEVICES/*; do
8
[ -d "$dev" ] || continue
11
open_dialog PARTITIONS
12
while { read_line num id size type fs path name; [ "$id" ]; }; do
13
[ "$fs" != free ] || continue
14
partitions="$partitions $id,$num"
18
for part in $partitions; do
21
[ -f $id/method ] || continue
22
method=$(cat $id/method)
23
if [ "$method" = swap ]; then
30
db_input medium partman-basicfilesystems/no_swap || true
32
db_get partman-basicfilesystems/no_swap
33
if [ "$RET" = true ]; then