I managed to prevent this trouble by adding an extra test is os-prober
Please check the attached patch or https://github.com/rzr/os-prober/tree/sandbox/rzr/for-upstream Or check my 1st post of : https://bugs.debian.org/768902 -- http://rzr.free.fr gpg:0x467094BC mailto:r...@gna.org xmpp:r...@jabber.org .
From e5518c2f8dc75609b4e1972092fd6db3a535b9aa Mon Sep 17 00:00:00 2001 From: Philippe Coval <r...@gna.org> Date: Wed, 20 May 2015 02:12:59 +0200 Subject: [PATCH] Fix by forcing fs type to not-detected if not named This workaround prevents mount to hang on extended part (#768902) Signed-off-by: Philippe Coval <r...@gna.org> --- linux-boot-probes/common/50mounted-tests | 1 + os-probes/common/50mounted-tests | 1 + 2 files changed, 2 insertions(+) diff --git a/linux-boot-probes/common/50mounted-tests b/linux-boot-probes/common/50mounted-tests index 41e26e6..2bc2317 100755 --- a/linux-boot-probes/common/50mounted-tests +++ b/linux-boot-probes/common/50mounted-tests @@ -6,6 +6,7 @@ set -e partition="$1" types="$(fs_type "$partition")" || types=NOT-DETECTED +[ "" != "$types" ] || types=NOT-DETECTED if [ "$types" = NOT-DETECTED ]; then debug "$1 type not recognised; skipping" exit 0 diff --git a/os-probes/common/50mounted-tests b/os-probes/common/50mounted-tests index 561163b..67744bd 100755 --- a/os-probes/common/50mounted-tests +++ b/os-probes/common/50mounted-tests @@ -6,6 +6,7 @@ partition="$1" . /usr/share/os-prober/common.sh types="$(fs_type "$partition")" || types=NOT-DETECTED +[ "" != "$types" ] || types=NOT-DETECTED if [ "$types" = NOT-DETECTED ]; then debug "$1 type not recognised; skipping" exit 0 -- 2.1.4
signature.asc
Description: OpenPGP digital signature