3
. /lib/partman/definitions.sh
5
for dev in $DEVICES/*; do
6
[ -d "$dev" ] || continue
10
while { read_line num id size type fs path name; [ "$id" ]; }; do
11
[ "$fs" != free ] || continue
12
partitions="$partitions $id,$num"
16
for part in $partitions; do
19
[ -f $id/method ] || continue
20
[ -f $id/acting_filesystem ] || continue
21
filesystem=$(cat $id/acting_filesystem)
24
[ ! -f "$id/mountpoint" ] || continue
25
db_fset partman-basicfilesystems/no_mount_point seen false
26
db_subst partman-basicfilesystems/no_mount_point PARTITION "$num"
27
db_subst partman-basicfilesystems/no_mount_point FILESYSTEM "$filesystem"
28
db_subst partman-basicfilesystems/no_mount_point DEVICE $(humandev $(cat device))
29
db_input critical partman-basicfilesystems/no_mount_point || true
31
db_get partman-basicfilesystems/no_mount_point
32
if [ "$RET" = 'true' ]; then