This file is indexed.

/usr/sbin/ocs-lvm2-start is in clonezilla 3.5.2-2.

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
#!/bin/bash
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

# Borrow from Gentoo, modified to be used in clonezilla by Steven Shiau <steven _at_ nchc org tw>

# LVM support for /usr, /home, /opt ....
# This should be done *before* checking local
# volumes, or they never get checked.
			        
# Load LVM module first,
if modinfo dm_mod &>/dev/null; then
  # Only for kernel 2.6
  modprobe dm_mod
fi
sleep 1
if [ -z "${CDBOOT}" ] && type vgscan &>/dev/null && \
	[ -d /proc/lvm -o "$(grep device-mapper /proc/misc 2>/dev/null)" ]
then
	echo "Setting up the Logical Volume Manager"
	vgscan &>/dev/null
	if [ "$?" -eq 0 ] && type vgchange &>/dev/null && \
		[ -f /etc/lvmtab -o -d /etc/lvm ]
	then
		vgchange -a y 2>/dev/null
	fi
fi

# vim:ts=4