diff options
author | dlehman <dlehman> | 2007-07-11 16:50:44 +0000 |
---|---|---|
committer | dlehman <dlehman> | 2007-07-11 16:50:44 +0000 |
commit | 074f565136ede16609c95a8899e895cf0a991823 (patch) | |
tree | 93c47d26ae7777bb938f42dc228a3a90d8cc0145 /isys | |
parent | 043f8b8e71f69d142336889f12b28897b7e85b81 (diff) | |
download | anaconda-074f565136ede16609c95a8899e895cf0a991823.tar.gz anaconda-074f565136ede16609c95a8899e895cf0a991823.tar.xz anaconda-074f565136ede16609c95a8899e895cf0a991823.zip |
* urlinstall.py (UrlInstallMethod.filesDone): don't log errors when
unmounting /mnt/source since it wasn't necessarily supposed to be
mounted in the first place (#223059)
* gui.py (InstallKeyWindow): handle F12 shortcut key (#210673)
* iutil.py (makeDriveDeviceNodes): create device nodes for tape
drives (#218816)
* isys/isys.py (tapeDriveList): new function to list tape drives
* isys/isys.py (driveDict): probe for tape drives, too
Diffstat (limited to 'isys')
-rw-r--r-- | isys/isys.py | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/isys/isys.py b/isys/isys.py index 6e10b7ed7..d2d6bbd6a 100644 --- a/isys/isys.py +++ b/isys/isys.py @@ -357,7 +357,8 @@ def loadKeymap(keymap): classMap = { "disk": kudzu.CLASS_HD, "cdrom": kudzu.CLASS_CDROM, - "floppy": kudzu.CLASS_FLOPPY } + "floppy": kudzu.CLASS_FLOPPY, + "tape": kudzu.CLASS_TAPE } cachedDrives = None @@ -371,7 +372,7 @@ def driveDict(klassArg): if cachedDrives is None: # FIXME: need to add dasd probing to kudzu devs = kudzu.probe(kudzu.CLASS_HD | kudzu.CLASS_CDROM | \ - kudzu.CLASS_FLOPPY, + kudzu.CLASS_FLOPPY | kudzu.CLASS_TAPE, kudzu.BUS_UNSPEC, kudzu.PROBE_SAFE) new = {} for dev in devs: @@ -463,6 +464,11 @@ def cdromList(): list.sort() return list +def tapeDriveList(): + list = driveDict("tape").keys() + list.sort() + return list + def getDasdPorts(): return _isys.getDasdPorts() |