diff options
author | Jeremy Katz <katzj@redhat.com> | 2006-02-06 23:46:37 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2006-02-06 23:46:37 +0000 |
commit | 2ced85edf5b120972caddec1e39db3257832beaf (patch) | |
tree | 5dceffd03181a86a33bfd1e32a8c92de760d5288 /fsset.py | |
parent | 315529957e23ecef0629bba38f889d2b5eb83986 (diff) | |
download | anaconda-2ced85edf5b120972caddec1e39db3257832beaf.tar.gz anaconda-2ced85edf5b120972caddec1e39db3257832beaf.tar.xz anaconda-2ced85edf5b120972caddec1e39db3257832beaf.zip |
2006-02-06 Jeremy Katz <katzj@redhat.com>
* fsset.py (FileSystemSet.mkDevRoot): Don't create it if it
already exists (eg, lvm)
Diffstat (limited to 'fsset.py')
-rw-r--r-- | fsset.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1278,7 +1278,8 @@ MAILADDR root def mkDevRoot(self, instPath): root = self.getEntryByMountPoint("/") dev = "%s/dev/%s" % (instPath, root.device.getDevice()) - isys.makeDevInode(root.device.getDevice(), dev) + if not os.path.exists(dev): + isys.makeDevInode(root.device.getDevice(), dev) rdev = os.stat(dev).st_rdev os.mknod("%s/dev/root" % (instPath,), stat.S_IFBLK | 0600, rdev) |