This file is indexed.

/usr/bin/simpleburn-get-datasize is in simpleburn 1.6.5-1.

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

device=$1
if [ -z $device ]; then
	echo "usage: $0 device"
	echo "example: $0 /dev/sr0"
	exit
fi

if df | grep -q "$device "
then datasize=`df | grep "$device " | sed 's/ \+/ /g' | cut -f3 -d' '`
else if mount $device 2>/dev/null
	then datasize=`df | grep "$device " | sed 's/ \+/ /g' | cut -f3 -d' '`
		umount $device 2>/dev/null
	fi
fi
echo $datasize