Blame SOURCES/os-prober-btrfsfix.patch

c62eab
--- os-prober-1.56-orig-1/common.sh	2013-01-10 08:33:45.200766262 -0500
c62eab
+++ os-prober-1.56-orig-1/common.sh	2013-01-10 08:34:43.644058934 -0500
c62eab
@@ -127,6 +127,7 @@ 
c62eab
 	done
c62eab
 }
c62eab
 
c62eab
+# add forth parameter to pickup btrfs subvol info
c62eab
 parsefstab () {
c62eab
 	while read -r line; do
c62eab
 		case "$line" in
c62eab
@@ -137,12 +138,22 @@ 
c62eab
 				set -f
c62eab
 				set -- $line
c62eab
 				set +f
c62eab
-				printf '%s %s %s\n' "$1" "$2" "$3"
c62eab
+				printf '%s %s %s %s\n' "$1" "$2" "$3" "$4"
c62eab
 			;;
c62eab
 		esac
c62eab
 	done
c62eab
 }
c62eab
 
c62eab
+#check_btrfs_mounted $bootsv $bootuuid)
c62eab
+check_btrfs_mounted () {
c62eab
+	bootsv="$1"
c62eab
+	bootuuid="$2"
c62eab
+	bootdev=$(blkid | grep "$bootuuid" | cut -d ':' -f  1)
c62eab
+	bindfrom=$(grep " btrfs " /proc/self/mountinfo | 
c62eab
+		   grep " $bootdev " | grep " /$bootsv " | cut -d ' ' -f 5)
c62eab
+	printf "%s" "$bindfrom"
c62eab
+}
c62eab
+
c62eab
 unescape_mount () {
c62eab
 	printf %s "$1" | \
c62eab
 		sed 's/\\011/	/g; s/\\012/\n/g; s/\\040/ /g; s/\\134/\\/g'
c62eab
--- os-prober-1.56-orig-1/linux-boot-prober	2012-03-27 10:39:42.000000000 -0400
c62eab
+++ os-prober-1.56-orig-1/linux-boot-prober	2013-01-10 08:34:43.644058934 -0500
c62eab
@@ -5,16 +5,143 @@ 
c62eab
 
c62eab
 newns "$@"
c62eab
 require_tmpdir
c62eab
+ERR="n"
c62eab
+
c62eab
+tmpmnt=/var/lib/os-prober/mount
c62eab
+if [ ! -d "$tmpmnt" ]; then
c62eab
+	mkdir "$tmpmnt"
c62eab
+fi
c62eab
+
c62eab
+mounted=
c62eab
+bootmnt=
c62eab
+bootsv=
c62eab
+bootuuid=
c62eab
 
c62eab
 grep "^/dev/" /proc/mounts | parse_proc_mounts >"$OS_PROBER_TMP/mounted-map" || true
c62eab
 
c62eab
-partition="$1"
c62eab
+if [ -z "$1" ]; then
c62eab
+	ERR=y
c62eab
+elif [ "$1" = btrfs -a -z "$2" ]; then
c62eab
+	ERR=y
c62eab
+elif [ "$1" = btrfs -a -z "$3" ]; then
c62eab
+	ERR=y
c62eab
+elif [ "$1" = btrfs ]; then
c62eab
+	type=btrfs
c62eab
+	echo "$2" | grep -q "^UUID=" || ERR=y
c62eab
+	echo "$3" | grep -q "^subvol=" || ERR=y	
c62eab
+	export "$2"
c62eab
+	export "$3"
c62eab
+	partition=$(blkid | grep "$UUID" | cut -d ':' -f 1 | tr '\n' ' ' | cut -d ' ' -f 1)
c62eab
+	debug "btrfs: partition=$partition, UUID=$UUID, subvol=$subvol"
c62eab
+else
c62eab
+	partition="$1"
c62eab
+	type=other
c62eab
+fi
c62eab
 
c62eab
-if [ -z "$partition" ]; then
c62eab
+if [ "x$ERR" != xn ]; then
c62eab
 	echo "usage: linux-boot-prober partition" >&2
c62eab
+	echo "       linux-boot-prober btrfs UUID=<> subvol=<>" >&2
c62eab
 	exit 1
c62eab
 fi
c62eab
 
c62eab
+if [ "$type" = btrfs ]; then
c62eab
+	# handle all of the btrfs stuff here
c62eab
+	if [ ! -e "/proc/self/mountinfo" ]; then
c62eab
+		warn "/proc/self/mountinfo does not exist, exiting"
c62eab
+		umount "$tmpmnt" 2>/dev/null
c62eab
+		rmdir "$tmpmnt" 2>/dev/null
c62eab
+		exit 1
c62eab
+	fi
c62eab
+	mpoint=$(grep "btrfs" /proc/self/mountinfo | grep " /$subvol " | grep " $partition " | cut -d ' ' -f 5)
c62eab
+	if [ "$mpoint" = "/" ]; then
c62eab
+		warn "specifying active root not valid, exiting"
c62eab
+		umount "$tmpmnt" 2>/dev/null
c62eab
+		rmdir "$tmpmnt" 2>/dev/null
c62eab
+		exit 1
c62eab
+	fi
c62eab
+	if [ "$mpoint" = "$tmpmnt" ]; then
c62eab
+		warn "btrfs subvol=$subvool, UUID=$UUID, already mounted on $tmpmnt **ERROR**"
c62eab
+		umount "$tmpmnt" 2>/dev/null
c62eab
+		rmdir "$tmpmnt" 2>/dev/null
c62eab
+		exit 1
c62eab
+	fi
c62eab
+	if [ -z "$mpoint" ]; then
c62eab
+		# mount the btrfs root
c62eab
+		if ! mount -o subvol=$subvol -t btrfs -U $UUID "$tmpmnt" 2>/dev/null; then
c62eab
+			warn "error mounting btrfs subvol=$subvol UUID=$UUID"
c62eab
+			umount "$tmpmnt/boot" 2>/dev/null
c62eab
+			umount "$tmpmnt" 2>/dev/null
c62eab
+			rmdir "$tmpmnt" 2>/dev/null
c62eab
+			exit 1
c62eab
+		fi
c62eab
+	else
c62eab
+		# bind-mount
c62eab
+		if ! mount -o bind "$mpoint" "$tmpmnt" 2>/dev/null; then
c62eab
+			warn "error mounting btrfs bindfrom=$mpoint subvol=$subvol UUID=$UUID"
c62eab
+			umount "$tmpmnt/boot" 2>/dev/null
c62eab
+			umount "$tmpmnt" 2>/dev/null
c62eab
+			rmdir "$tmpmnt" 2>/dev/null
c62eab
+			exit 1
c62eab
+		fi
c62eab
+	fi
c62eab
+	debug "mounted btrfs $partition, subvol=$subvol on $tmpmnt"
c62eab
+	if [ ! -e "$tmpmnt/etc/fstab" ]; then
c62eab
+		warn "btrfs subvol=$subvol not root"
c62eab
+		umount "$tmpmnt" 2>/dev/null
c62eab
+		rmdir "$tmpmnt" 2>/dev/null
c62eab
+		exit 1
c62eab
+	fi
c62eab
+	bootmnt=$(parsefstab < "$tmpmnt/etc/fstab" | grep " /boot ") || true
c62eab
+	if [ -z "$bootmnt" ]; then
c62eab
+		# /boot is part of the root
c62eab
+		bootpart="$partition"
c62eab
+		bootsv="$subvol"
c62eab
+	elif echo "$bootmnt" | cut -d ' ' -f 3 | grep -q "btrfs"; then
c62eab
+		# separate btrfs /boot subvolume
c62eab
+		bootsv=$(echo "$bootmnt" | cut -d ' ' -f 4 | grep "^subvol=" | sed "s/subvol=//" )
c62eab
+		bootuuid=$(echo "$bootmnt" | cut -d ' ' -f 1 | grep "^UUID=" | sed "s/UUID=//" )
c62eab
+		debug "mounting btrfs $tmpmnt/boot UUID=$bootuuid subvol=$bootsv"
c62eab
+		bindfrom=$(check_btrfs_mounted $bootsv $bootuuid)
c62eab
+		if [ -n "$bindfrom" ]; then
c62eab
+			# already mounted some place
c62eab
+			if ! mount -o bind $bindfrom "$tmpmnt/boot" 2>/dev/null; then
c62eab
+				warn "error bind mounting btrfs boot subvol=$bootsv, from=$bindfrom"
c62eab
+				umount "$tmpmnt/boot" 2>/dev/null
c62eab
+				umount "$tmpmnt" 2>/dev/null
c62eab
+				rmdir "$tmpmnt" 2>/dev/null
c62eab
+				exit 1
c62eab
+			fi
c62eab
+		elif ! mount -o subvol=$bootsv -t btrfs -U $bootuuid "$tmpmnt/boot" 2>/dev/null; then
c62eab
+			warn "error mounting btrfs boot partition subvol=$bootsv, UUID=$bootuuid"
c62eab
+			umount "$tmpmnt/boot" 2>/dev/null
c62eab
+			umount "$tmpmnt" 2>/dev/null
c62eab
+			rmdir "$tmpmnt" 2>/dev/null
c62eab
+			exit 1
c62eab
+		fi
c62eab
+		bootpart=$(grep " btrfs " /proc/self/mountinfo | grep " /$bootsv " | cut -d ' ' -f 10)
c62eab
+	else
c62eab
+		# non-btrfs partition or logical volume
c62eab
+		linux_mount_boot $partition $tmpmnt
c62eab
+		bootpart="${mountboot%% *}"
c62eab
+		bootsv=
c62eab
+	fi
c62eab
+	
c62eab
+	test="/usr/lib/linux-boot-probes/mounted/40grub2"
c62eab
+	if [ -f $test ] && [ -x $test ]; then
c62eab
+		debug "running $test $partition $bootpart $tmpmnt $type $subvol $bootsv"
c62eab
+		if $test "$partition" "$bootpart" "$tmpmnt" "$type" "$subvol" "$bootsv"; then
c62eab
+			debug "$test succeeded"
c62eab
+		fi
c62eab
+	fi
c62eab
+	umount "$tmpmnt/boot" 2>/dev/null || true
c62eab
+	if ! umount "$tmpmnt" 2>/dev/null; then
c62eab
+		warn "problem umount $tmpmnt"
c62eab
+	fi
c62eab
+	rmdir "$tmpmnt" 2>/dev/null || true
c62eab
+
c62eab
+	exit 0
c62eab
+fi
c62eab
+
c62eab
 if ! mapped="$(mapdevfs "$partition")"; then
c62eab
 	log "Device '$partition' does not exist; skipping"
c62eab
 	continue
c62eab
@@ -22,8 +149,8 @@ 
c62eab
 
c62eab
 if ! grep -q "^$mapped " "$OS_PROBER_TMP/mounted-map"; then
c62eab
 	for test in /usr/lib/linux-boot-probes/*; do
c62eab
-		debug "running $test"
c62eab
 		if [ -x $test ] && [ -f $test ]; then
c62eab
+			debug "running $test"
c62eab
 			if $test "$partition"; then
c62eab
 				debug "linux detected by $test"
c62eab
 				break
c62eab
--- os-prober-1.56-orig-1/linux-boot-probes/mounted/common/40grub2	2012-09-17 13:32:52.000000000 -0400
c62eab
+++ os-prober-1.56-orig-1/linux-boot-probes/mounted/common/40grub2	2013-01-10 08:34:43.644058934 -0500
c62eab
@@ -2,17 +2,27 @@ 
c62eab
 . /usr/share/os-prober/common.sh
c62eab
 set -e
c62eab
 
c62eab
+# add support for btrfs with no separate /boot
c62eab
+# that is, rootsv = bootsv
c62eab
 partition="$1"
c62eab
 bootpart="$2"
c62eab
 mpoint="$3"
c62eab
 type="$4"
c62eab
+rootsv="$5"
c62eab
+bootsv="$6"
c62eab
 
c62eab
 found_item=0
c62eab
 
c62eab
 entry_result () {
c62eab
+	if [ "x$type" = "xbtrfs" -a "$rootsv" = "$bootsv" ]; then
c62eab
+		# trim off the leading subvol
c62eab
+		kernelfile=$(echo "$kernel" | cut -d '/' -f 2- | cut -d '/' -f 2-)
c62eab
+	else
c62eab
+		kernelfile=$kernel
c62eab
+	fi
c62eab
 	if [ "$ignore_item" = 0 ] && \
c62eab
 	   [ -n "$kernel" ] && \
c62eab
-	   [ -e "$mpoint/$kernel" ]; then
c62eab
+	   [ -e "$mpoint/$kernelfile" ]; then
c62eab
 		result "$rootpart:$bootpart:$title:$kernel:$initrd:$parameters"
c62eab
 		found_item=1
c62eab
 	fi
c62eab
--- os-prober-1.56-orig-1/os-prober	2013-01-10 08:33:45.193766227 -0500
c62eab
+++ os-prober-1.56-orig-1/os-prober	2013-01-10 08:34:43.645058939 -0500
c62eab
@@ -64,9 +64,12 @@ 
c62eab
 
c62eab
 	# Also detect OSes on LVM volumes (assumes LVM is active)
c62eab
 	if type lvs >/dev/null 2>&1; then
c62eab
-		echo "$(LVM_SUPPRESS_FD_WARNINGS=1 log_output lvs --noheadings --separator : -o vg_name,lv_name |
c62eab
+		echo "$(LVM_SUPPRESS_FD_WARNINGS=1 log_output lvs --noheadings --separator : -o vg_name,lv_name 2>/dev/null |
c62eab
 			sed "s|-|--|g;s|^[[:space:]]*\(.*\):\(.*\)$|/dev/mapper/\1-\2|")"
c62eab
 	fi
c62eab
+
c62eab
+	# now lets make sure we got all of the btrfs partitions and disks
c62eab
+	blkid | grep btrfs | cut -d ':' -f 1
c62eab
 }
c62eab
 
c62eab
 parse_proc_swaps () {
c62eab
@@ -124,6 +127,8 @@ 
c62eab
 	grep "^md" /proc/mdstat | cut -d: -f2- | parse_proc_mdstat >"$OS_PROBER_TMP/raided-map" || true
c62eab
 fi
c62eab
 
c62eab
+: >"$OS_PROBER_TMP/btrfs-vols"
c62eab
+
c62eab
 for partition in $(partitions); do
c62eab
 	if ! mapped="$(mapdevfs "$partition")"; then
c62eab
 		log "Device '$partition' does not exist; skipping"
c62eab
@@ -142,7 +147,26 @@ 
c62eab
 		continue
c62eab
 	fi
c62eab
 
c62eab
-	if ! grep -q "^$mapped " "$OS_PROBER_TMP/mounted-map" ; then
c62eab
+	# do btrfs processing here; both mounted and unmounted will
c62eab
+	# be handled by 50mounted-tests so we can do a subvol only once.
c62eab
+	type=$(blkid -o value -s TYPE $mapped || true)
c62eab
+	if [ "$type" = btrfs ]; then
c62eab
+		uuid=$(blkid -o value -s UUID $mapped)
c62eab
+		if grep -q "^$uuid" "$OS_PROBER_TMP/btrfs-vols" ; then
c62eab
+			continue
c62eab
+		fi
c62eab
+		debug "btrfs volume uuid=$uuid partition=$partition"
c62eab
+		echo "$uuid" >>"$OS_PROBER_TMP/btrfs-vols"
c62eab
+		test="/usr/lib/os-probes/50mounted-tests"
c62eab
+		if [ -f "$test" ] && [ -x "$test" ]; then
c62eab
+			debug "running $test on btrfs $partition"
c62eab
+			if "$test" btrfs "$uuid" "$partition"; then
c62eab
+				debug "os detected by $test"
c62eab
+		   		continue
c62eab
+			fi
c62eab
+		fi
c62eab
+
c62eab
+	elif ! grep -q "^$mapped " "$OS_PROBER_TMP/mounted-map" ; then
c62eab
 		for test in /usr/lib/os-probes/*; do
c62eab
 			if [ -f "$test" ] && [ -x "$test" ]; then
c62eab
 				debug "running $test on $partition"
c62eab
--- os-prober-1.56-orig-1/os-probes/common/50mounted-tests	2012-09-17 11:08:12.000000000 -0400
c62eab
+++ os-prober-1.56-orig-1/os-probes/common/50mounted-tests	2013-01-10 08:34:43.645058939 -0500
c62eab
@@ -1,20 +1,36 @@ 
c62eab
 #!/bin/sh
c62eab
 # Sub-tests that require a mounted partition.
c62eab
 set -e
c62eab
-partition="$1"
c62eab
 
c62eab
 . /usr/share/os-prober/common.sh
c62eab
 
c62eab
-types="$(fs_type "$partition")" || types=NOT-DETECTED
c62eab
+if [ "x$1" = xbtrfs ]; then
c62eab
+	types=btrfs
c62eab
+	if [ -z "$2" -o -z "$3" ]; then
c62eab
+		debug "missing btrfs parameters, exiting"
c62eab
+		exit 1
c62eab
+	fi
c62eab
+	UUID="$2"
c62eab
+	BTRFSDEV="$3"
c62eab
+else
c62eab
+	partition="$1"
c62eab
+	types="$(fs_type "$partition")" || types=NOT-DETECTED
c62eab
+fi
c62eab
+
c62eab
 if [ "$types" = NOT-DETECTED ]; then
c62eab
 	debug "$1 type not recognised; skipping"
c62eab
-	exit 0
c62eab
+	exit 1
c62eab
+elif [ "x$types" = "x" ]; then
c62eab
+	exit 1
c62eab
+elif [ "$types" = LVM2_member ]; then
c62eab
+	debug "skipping LVM2 Volume Group on $partition"
c62eab
+	exit 1
c62eab
 elif [ "$types" = swap ]; then
c62eab
 	debug "$1 is a swap partition; skipping"
c62eab
-	exit 0
c62eab
+	exit 1
c62eab
 elif [ "$types" = crypto_LUKS ]; then
c62eab
 	debug "$1 is a LUKS partition; skipping"
c62eab
-	exit 0
c62eab
+	exit 1
c62eab
 elif [ "$types" = ntfs ]; then
c62eab
 	if type ntfs-3g >/dev/null 2>&1; then
c62eab
 		types='ntfs-3g ntfs'
c62eab
@@ -23,7 +39,7 @@ 
c62eab
 	if type cryptsetup >/dev/null 2>&1 && \
c62eab
 	   cryptsetup luksDump "$partition" >/dev/null 2>&1; then
c62eab
 		debug "$1 is a LUKS partition; skipping"
c62eab
-		exit 0
c62eab
+		exit 1
c62eab
 	fi
c62eab
 	for type in $(grep -v nodev /proc/filesystems); do
c62eab
 		# hfsplus filesystems are mountable as hfs. Try hfs last so
c62eab
@@ -46,6 +62,76 @@ 
c62eab
 fi
c62eab
 
c62eab
 mounted=
c62eab
+
c62eab
+# all btrfs processing here.  Handle both unmounted and
c62eab
+# mounted subvolumes.
c62eab
+if [ "$types" = btrfs ]; then
c62eab
+	partition="$BTRFSDEV"
c62eab
+	debug "begin btrfs processing for $UUID"
c62eab
+	# note that the btrfs volume must not be mounted ro
c62eab
+	if mount -t btrfs -U "$UUID" "$tmpmnt"  2>/dev/null; then
c62eab
+		debug "btrfs volume $UUID mounted"
c62eab
+	else
c62eab
+		warn "cannot mount btrfs volume $UUID, exiting"
c62eab
+		rmdir "$tmpmnt" || true
c62eab
+		exit 1
c62eab
+	fi
c62eab
+	# besides regular subvols, get ro and snapshot so thet can be excluded
c62eab
+        subvols=$(btrfs subvolume list "$tmpmnt" | cut -d ' ' -f 9)
c62eab
+        rosubvols=$(btrfs subvolume list -r "$tmpmnt" | cut -d ' ' -f 9)
c62eab
+        sssubvols=$(btrfs subvolume list -s "$tmpmnt" | cut -d ' ' -f 9)
c62eab
+        if ! umount "$tmpmnt"; then
c62eab
+            warn "failed to umount btrfs volume on $tmpmnt"
c62eab
+            rmdir "$tmpmnt" || true
c62eab
+            exit 1
c62eab
+        fi
c62eab
+	if [ -z "$subvols" ]; then
c62eab
+		debug "no subvols found on btrfs volume $UUID"
c62eab
+		exit 1
c62eab
+	fi
c62eab
+	found=
c62eab
+        for subvol in $subvols; do
c62eab
+		debug "begin btrfs processing for $UUID subvol=$subvol"
c62eab
+		if echo "$rosubvols" | grep -q -x "$subvol"; then
c62eab
+			continue
c62eab
+		fi
c62eab
+		if echo "$sssubvols" | grep -q -x "$subvol"; then
c62eab
+			continue
c62eab
+		fi
c62eab
+		mounted=
c62eab
+		mpoint="$(grep btrfs /proc/self/mountinfo | grep "$partition " | grep "/$subvol " | cut -d ' ' -f 5)"
c62eab
+		if [ -n "$mpoint" ]; then
c62eab
+			if [ "x$mpoint" = "x/" ]; then
c62eab
+				continue # this is the root for the running system
c62eab
+			fi
c62eab
+			mounted=1
c62eab
+		else
c62eab
+			# again, do not mount btrfs ro
c62eab
+			mount -t btrfs -o subvol="$subvol" -U "$UUID" "$tmpmnt"
c62eab
+			mpoint="$tmpmnt"
c62eab
+		fi
c62eab
+		test="/usr/lib/os-probes/mounted/90linux-distro"
c62eab
+		if [ -f "$test" ] && [ -x "$test" ]; then
c62eab
+			debug "running subtest $test"
c62eab
+			if "$test" "$partition" "$mpoint" btrfs "UUID=$UUID" "subvol=$subvol"; then
c62eab
+				debug "os found by subtest $test on subvol $subvol"
c62eab
+				found=1
c62eab
+			fi
c62eab
+		fi
c62eab
+		if [ -z "$mounted" ]; then
c62eab
+			if ! umount "$tmpmnt"; then
c62eab
+			    warn "failed to umount $tmpmnt"
c62eab
+			fi
c62eab
+		fi
c62eab
+	done
c62eab
+	rmdir "$tmpmnt" || true
c62eab
+	if [ "$found" ]; then
c62eab
+		exit 0
c62eab
+	else
c62eab
+		exit 1
c62eab
+	fi
c62eab
+fi
c62eab
+
c62eab
 if type grub-mount >/dev/null 2>&1 && \
c62eab
    type grub-probe >/dev/null 2>&1 && \
c62eab
    grub-mount "$partition" "$tmpmnt" 2>/dev/null; then
c62eab
--- os-prober-1.56-orig-1/os-probes/mounted/common/90linux-distro	2013-01-10 08:33:45.197766247 -0500
c62eab
+++ os-prober-1.56-orig-1/os-probes/mounted/common/90linux-distro	2013-01-10 08:34:43.645058939 -0500
c62eab
@@ -7,6 +7,8 @@ 
c62eab
 partition="$1"
c62eab
 dir="$2"
c62eab
 type="$3"
c62eab
+uuid="$4"
c62eab
+subvol="$5"
c62eab
 
c62eab
 # This test is inaccurate, but given separate / and /boot partitions and the
c62eab
 # fact that only some architectures have ld-linux.so, I can't see anything
c62eab
@@ -131,7 +133,11 @@ 
c62eab
 	fi
c62eab
 	
c62eab
         label="$(count_next_label "$short")"
c62eab
-	result "$partition:$long:$label:linux"
c62eab
+	if [ "x$type" = "xbtrfs" -a "x$uuid" != "x" -a "x$subvol" != "x" ]; then
c62eab
+		result "$partition:$long:$label:linux:$type:$uuid:$subvol"
c62eab
+	else
c62eab
+		result "$partition:$long:$label:linux"
c62eab
+	fi
c62eab
 	exit 0
c62eab
 else
c62eab
 	exit 1
c62eab
--- os-prober-1.56-orig-1/README.btrfs	1969-12-31 19:00:00.000000000 -0500
c62eab
+++ os-prober-1.56-orig-1/README.btrfs	2013-01-10 08:34:43.645058939 -0500
c62eab
@@ -0,0 +1,15 @@ 
c62eab
+BTRFS is a new filesystem which combines the filesystem with logical volume
c62eab
+management (subvolumes).  For further information, see:
c62eab
+      https://btrfs.wiki.kernel.org/index.php/Main_Page
c62eab
+      https://btrfs.wiki.kernel.org/index.php/FAQ
c62eab
+
c62eab
+In order to support BTRFS, a number of changes were necessary to os-prober,
c62eab
+os-probes/common/50mounted-tests, os-probes/mounted/common/90linux-distro,
c62eab
+linux-boot-prober, and linux-boot-probes/common/50mounted-tests.
c62eab
+
c62eab
+The biggest impact will be to grub2 where there is additional information
c62eab
+output by os-prober and where, if a BTRFS subvolume is being used for root,
c62eab
+the parameters for linux-boot-prober have changed.
c62eab
+
c62eab
+Sun 30 Dec 2012 11:49:52 AM EST Gene Czarcinski <gene@czarc.net>
c62eab
+