summaryrefslogtreecommitdiffstats
path: root/iutil.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2005-10-14 21:28:33 +0000
committerChris Lumens <clumens@redhat.com>2005-10-14 21:28:33 +0000
commitf5efa1a2a16545e763f8e52b2e10fa521e823379 (patch)
treeee31a1c8da42d431d4ce1c82bae7884fee0ec044 /iutil.py
parent300ffe9a17b2b163c372a1bd92e28d30804b811e (diff)
downloadanaconda-f5efa1a2a16545e763f8e52b2e10fa521e823379.tar.gz
anaconda-f5efa1a2a16545e763f8e52b2e10fa521e823379.tar.xz
anaconda-f5efa1a2a16545e763f8e52b2e10fa521e823379.zip
Make /dev/input/event* device nodes needed for some laptop mice.
Diffstat (limited to 'iutil.py')
-rw-r--r--iutil.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/iutil.py b/iutil.py
index 483f5672e..051e3abe8 100644
--- a/iutil.py
+++ b/iutil.py
@@ -450,6 +450,10 @@ def makeDMNode(root="/"):
isys.mknod(root + "/dev/mapper/control", stat.S_IFCHR | 0600,
isys.makedev(major, minor))
+# make some miscellaneous character device nodes
+def makeCharDeviceNodes():
+ for dev in ["input/event0", "input/event1", "input/event2", "input/event3"]:
+ isys.makeDevInode(dev, "/dev/%s" % (dev,))
# make the device nodes for all of the drives on the system
def makeDriveDeviceNodes():