summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Cantrell <dcantrell@redhat.com>2010-05-06 10:29:49 -1000
committerDavid Cantrell <dcantrell@redhat.com>2010-05-06 11:27:03 -1000
commitb2bda71a68768077d716fde60b19dd2134572d03 (patch)
treead631ff4d128130c36aa39073a158643eacb33a4
parentb5914d27ba6046ca4e2851fc8db0e9be1465074f (diff)
downloadanaconda-b2bda71a68768077d716fde60b19dd2134572d03.tar.gz
anaconda-b2bda71a68768077d716fde60b19dd2134572d03.tar.xz
anaconda-b2bda71a68768077d716fde60b19dd2134572d03.zip
Do not prepend /dev/disk/by-path in format DASD window
The deviceNameToDiskByPath() function returns the full link spec now rather than just the basename. Related: rhbz#589717 Related: rhbz#589713
-rw-r--r--storage/dasd.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/dasd.py b/storage/dasd.py
index f942d5d87..8d57c1f46 100644
--- a/storage/dasd.py
+++ b/storage/dasd.py
@@ -125,7 +125,7 @@ class DASD:
if intf and askUser:
devs = ''
for dasd, bypath in self._dasdlist:
- devs += "/dev/disk/by-path/%s\n" % (bypath,)
+ devs += "%s\n" % (bypath,)
rc = intf.questionInitializeDASD(c, devs)
if rc == 1:
@@ -164,7 +164,7 @@ class DASD:
pw = intf.progressWindow(title, msg, 100, pulse=True)
for dasd, bypath in self._dasdlist:
- log.info("Running dasdfmt on /dev/disk/by-path/%s" % (bypath,))
+ log.info("Running dasdfmt on %s" % (bypath,))
arglist = argv + ["/dev/" + dasd]
try: