This file is indexed.

/lib/partman/choose_partition/30lvm/choices 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
#!/bin/sh

[ -f /var/lib/partman/lvm ] || exit 0

. /usr/share/debconf/confmodule
. /lib/partman/lib/lvm-base.sh

# Only show menu option if there is at least one partition that can be used
# as an LVM PV
[ $(pv_list_allowed | wc -l) -gt 0 ] || exit 0

db_metaget partman-lvm/text/configure_lvm description

printf "lvm\t%s\n" "$RET"