This file is indexed.

/lib/partman/choose_method/45efi/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
19
20
21
22
23
#!/bin/sh

dev=$2
id=$3

mkdir -p $dev/$id

echo efi >$dev/$id/method
# See comment in commit.d/format_efi.  We check again here to make the
# confirm-changes screen less scary.
if [ -f $dev/$id/detected_filesystem ]; then
	rm -f $dev/$id/format
else
	>$dev/$id/format
fi
>$dev/$id/bootable
>$dev/$id/efi_bootable

rm -f $dev/$id/use_filesystem
rm -f $dev/$id/filesystem
rm -f $dev/$id/mountpoint

exit 0