summaryrefslogtreecommitdiffstats
path: root/iutil.py
diff options
context:
space:
mode:
authordlehman <dlehman>2007-09-17 16:23:40 +0000
committerdlehman <dlehman>2007-09-17 16:23:40 +0000
commit8f4e2b05a27aa793c8319f226cf7c5354724c49a (patch)
tree1fd9ff26b9b141514e0610a9a982800414c668c9 /iutil.py
parent6ef01d336275be2822ae170631e731596ff8b03f (diff)
downloadanaconda-8f4e2b05a27aa793c8319f226cf7c5354724c49a.tar.gz
anaconda-8f4e2b05a27aa793c8319f226cf7c5354724c49a.tar.xz
anaconda-8f4e2b05a27aa793c8319f226cf7c5354724c49a.zip
* iutil.py (makeDriveDeviceNodes): create all variations of tape drive
device nodes * isys/devnodes.c (devMakeInode): support creation of the various 2.6 tape device nodes * isys/isys.py (driveDict): find the devices associated with tape drives since kudzu is unable to do so (#218816)
Diffstat (limited to 'iutil.py')
-rw-r--r--iutil.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/iutil.py b/iutil.py
index 44f835cb6..cfce3e417 100644
--- a/iutil.py
+++ b/iutil.py
@@ -290,7 +290,11 @@ def makeDriveDeviceNodes():
tapeDrives = isys.tapeDriveList()
for drive in tapeDrives:
- isys.makeDevInode(drive, "/dev/%s" % (drive,))
+ # make all tape device variants (stX,stXl,stXm,stXa,nstX,nstXl,nstXm,nstXa)
+ for prefix in ("", "n"):
+ for postfix in ("", "l", "m", "a"):
+ device = "%s%s%s" % (prefix, drive, postfix)
+ isys.makeDevInode(device, "/dev/%s" % (device,))
for mdMinor in range(0, 32):
md = "md%d" %(mdMinor,)