diff options
author | dlehman <dlehman> | 2007-09-17 16:23:40 +0000 |
---|---|---|
committer | dlehman <dlehman> | 2007-09-17 16:23:40 +0000 |
commit | 8f4e2b05a27aa793c8319f226cf7c5354724c49a (patch) | |
tree | 1fd9ff26b9b141514e0610a9a982800414c668c9 /iutil.py | |
parent | 6ef01d336275be2822ae170631e731596ff8b03f (diff) | |
download | anaconda-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.py | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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,) |