This file is indexed.

/lib/partman/automatically_partition/20some_device/do_option is in ubiquity 18.04.14.

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
#!/bin/sh

. /lib/partman/lib/base.sh
. /lib/partman/lib/auto-shared.sh

code=255
while [ $code -eq 255 ]; do
	disk=$(select_auto_disk) || exit 99
	autopartition $disk
	code=$?
done

if [ $code -ne 0 ]; then
	exit $code
else
	# accept the autopartitioning
	exit 100
fi