summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2007-10-26 17:20:15 +0000
committerChris Lumens <clumens@redhat.com>2007-10-26 17:20:15 +0000
commit484a617ad31b9c140c777bfcf5ffecb7c53ad01b (patch)
treed22fd87b54b9e1220139af8312c2518cc9b9fd9a
parentbc634f0b29750108b9d8453bbf8298bf7a0b3bba (diff)
downloadanaconda-484a617ad31b9c140c777bfcf5ffecb7c53ad01b.tar.gz
anaconda-484a617ad31b9c140c777bfcf5ffecb7c53ad01b.tar.xz
anaconda-484a617ad31b9c140c777bfcf5ffecb7c53ad01b.zip
Create device nodes in /dev.
-rw-r--r--ChangeLog2
-rw-r--r--isys/isys.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index ea03baaf5..c07b59cb6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -7,6 +7,8 @@
* yuminstall.py (YumBackend.selectAnacondaNeeds): The package
providing lokkit has changed names.
+ * isys/isys.py (mount): Create device nodes in /dev.
+
* loader2/init.c: It's MALLOC_CHECK_, not _MALLOC_CHECK (#354131).
* scripts/splittree.py: Added a --disc-size= option to set the size of
diff --git a/isys/isys.py b/isys/isys.py
index c554a9c10..eb0b4cbd3 100644
--- a/isys/isys.py
+++ b/isys/isys.py
@@ -313,11 +313,9 @@ def mount(device, location, fstype = "ext2", readOnly = 0, bindMount = 0, remoun
# We note whether or not we created a node so we can clean up later.
createdNode = 0
if device and device != "none" and device[0] != "/":
- devName = "/tmp/%s" % device
try:
- makeDevInode (device, devName)
- device = devName
+ makeDevInode (device)
createdNode = 1
except SystemError:
pass