This file is indexed.

/lib/partman/init.d/70update_partitions is in ubiquity 2.10.16.

This file is owned by root:root, with mode 0o755.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/sh

. /lib/partman/lib/base.sh

for dev in /var/lib/partman/devices/*; do
	[ -d "$dev" ] || continue
	cd $dev
	rm -f partition_tree_cache
	partitions=
	open_dialog PARTITIONS
	while { read_line partinfo; [ "$partinfo" ]; }; do
		partitions="${partitions:+$partitions$NL}$partinfo"
	done
	close_dialog

	IFS="$NL"
	for partinfo in $partitions; do
		restore_ifs
		for u in /lib/partman/update.d/*; do
			[ -x "$u" ] || continue
			$u $dev $partinfo
		done
		IFS="$NL"
	done
	restore_ifs
done