diff options
author | Jeremy Katz <katzj@redhat.com> | 2007-01-23 20:34:50 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2007-01-23 20:34:50 +0000 |
commit | bc9b811441a202009208b02ee52a7673b208ae95 (patch) | |
tree | 4a8101f39feb9dc961e639380506485193de7bb5 | |
parent | ad41515feffb4b3c41530e1a689ea89d1bbe16dc (diff) | |
download | anaconda-bc9b811441a202009208b02ee52a7673b208ae95.tar.gz anaconda-bc9b811441a202009208b02ee52a7673b208ae95.tar.xz anaconda-bc9b811441a202009208b02ee52a7673b208ae95.zip |
2007-01-23 Jeremy Katz <katzj@redhat.com>
* isys/isys.py (makeDevInode): Don't remake device nodes that
already exist.
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | isys/isys.py | 2 |
2 files changed, 5 insertions, 0 deletions
@@ -1,5 +1,8 @@ 2007-01-23 Jeremy Katz <katzj@redhat.com> + * isys/isys.py (makeDevInode): Don't remake device nodes that + already exist. + * scripts/upd-instroot (KEEPFILEGR): More icons is more better. 2007-01-23 Chris Lumens <clumens@redhat.com> diff --git a/isys/isys.py b/isys/isys.py index d8378d5e1..f94cd5c80 100644 --- a/isys/isys.py +++ b/isys/isys.py @@ -400,6 +400,8 @@ def getDasdState(dev): def makeDevInode(name, fn=None): if fn: + if os.path.exists(fn): + return fn _isys.mkdevinode(name, fn) return fn path = '/dev/%s' % (name,) |