File s390-tools-sles15-zipl-remove-invalid-dasdview-command-line-option.patch of Package s390-tools.10760

Subject: [PATCH] [BZ 161183] zipl: remove invalid dasdview command line option
From: Stefan Haberland <>

Description:  zipl: remove invalid dasdview command line option
Symptom:      zipl does not work when used with a lvm or device mapper
Problem:      The zipl_helper.device-mapper script uses dasdview with
              an option "-f" that has been removed recently.
Solution:     Remove "-f" from the dasdview call.
Reproduction: Run zipl on a lvm target.
Upstream-ID:  -
Problem-ID:   161183

Signed-off-by: Stefan Haberland <>
 zipl/src/zipl_helper.device-mapper |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/zipl/src/zipl_helper.device-mapper
+++ b/zipl/src/zipl_helper.device-mapper
@@ -623,7 +623,7 @@ sub get_dasd_info($)
 	my $type;
 	local *HANDLE;
-	open(HANDLE, "$dasdview -x -f  $dev 2>/dev/null|") or
+	open(HANDLE, "$dasdview -x $dev 2>/dev/null|") or
 		# dasdview returned with an error
 		return undef;
 	while (<HANDLE>) {
openSUSE Build Service is sponsored by