This file is indexed.

/usr/lib/os-probes/mounted/40lsb is in os-prober 1.51ubuntu3.

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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#!/bin/sh
# Test for LSB systems.
set -e

. /usr/share/os-prober/common.sh

partition="$1"
dir="$2"
type="$3"

lsb_field () {
	file="$1"
	field="$2"
	grep ^"$field" "$file" | cut -d = -f 2 | sed 's/^"//' | sed 's/"$//' | sed 's/:/ /g'
}

file="$dir/etc/lsb-release"
if [ ! -e "$file" ]; then
	exit 1
fi

release=$(lsb_field "$file" DISTRIB_RELEASE)
if [ -z "$release" ]; then
	release=$(lsb_field "$file" DISTRIB_CODENAME)
fi
description=$(lsb_field "$file" DISTRIB_DESCRIPTION)
if [ -z "$description" ]; then
	description=$(lsb_field "$file" DISTRIB_CODENAME)
fi

if [ -n "$description" ]; then
	if [ -n "$release" ]; then
		long="$description ($release)"
	else
		long="$description"
	fi
else
	exit 1
fi

short=$(lsb_field "$file" DISTRIB_ID | sed 's/ //g')
if [ -z "$short" ]; then
	short="UnknownLSB"
fi

label="$(count_next_label "$short")"
result "$partition:$long:$label:linux"
exit 0