[PATCH 8/8] Do not prepend /dev/disk/by-path in format DASD window

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The deviceNameToDiskByPath() function returns the full link spec now
rather than just the basename.

Related: rhbz#589717
Related: rhbz#589713
---
 storage/dasd.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/storage/dasd.py b/storage/dasd.py
index 6c9241f..96508b7 100644
--- a/storage/dasd.py
+++ b/storage/dasd.py
@@ -108,7 +108,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:
@@ -147,7 +147,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:
-- 
1.6.6.1

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux