File: prep

package info (click to toggle)
partman-prep 3
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 248 kB
  • ctags: 7
  • sloc: sh: 165; makefile: 40
file content (16 lines) | stat: -rwxr-xr-x 299 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

. /lib/partman/definitions.sh

dev=$1
id=$2
property=$3

db_metaget partman-prep/text/prep description

# The imaginery file system "prep" is available only for prep partitions
[ -f $id/method ] || exit 0
method=$(cat $id/method)
if [ "$method" = prep ]; then
	printf "prep\t${RET}\n"
fi