Subject says it all. Otherwise dmsetup complains loudly when a device map doesn't exist. O.k. to apply? -- Guido
--- packages/partman/partman-base/lib/base.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/packages/partman/partman-base/lib/base.sh b/packages/partman/partman-base/lib/base.sh index dada3ef..70f87cb 100644 --- a/packages/partman/partman-base/lib/base.sh +++ b/packages/partman/partman-base/lib/base.sh @@ -508,7 +508,7 @@ memfree () { dm_table () { local type="" if [ -x /sbin/dmsetup ]; then - type=$(/sbin/dmsetup table "$1" | head -n 1 | cut -d " " -f3) + type=$(/sbin/dmsetup table "$1" 2>/dev/null | head -n 1 | cut -d " " -f3) fi echo $type } -- 1.5.4.1 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]