diff options
author | Chris Lumens <clumens@redhat.com> | 2007-10-26 17:20:15 +0000 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2007-10-26 17:20:15 +0000 |
commit | 484a617ad31b9c140c777bfcf5ffecb7c53ad01b (patch) | |
tree | d22fd87b54b9e1220139af8312c2518cc9b9fd9a | |
parent | bc634f0b29750108b9d8453bbf8298bf7a0b3bba (diff) | |
download | anaconda-484a617ad31b9c140c777bfcf5ffecb7c53ad01b.tar.gz anaconda-484a617ad31b9c140c777bfcf5ffecb7c53ad01b.tar.xz anaconda-484a617ad31b9c140c777bfcf5ffecb7c53ad01b.zip |
Create device nodes in /dev.
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | isys/isys.py | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -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 |