diff options
author | Jeremy Katz <katzj@redhat.com> | 2006-02-06 19:23:10 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2006-02-06 19:23:10 +0000 |
commit | 4e4f05b9c1deb584571ae87def00a5774cc06406 (patch) | |
tree | 3549d01c6750d5b7c40edf7611a08ce11c31cc8a /fsset.py | |
parent | 0a1b2db7a936a08e5510527a463296dbc94b363a (diff) | |
download | anaconda-4e4f05b9c1deb584571ae87def00a5774cc06406.tar.gz anaconda-4e4f05b9c1deb584571ae87def00a5774cc06406.tar.xz anaconda-4e4f05b9c1deb584571ae87def00a5774cc06406.zip |
2006-02-06 Jeremy Katz <katzj@redhat.com>
* fsset.py (FileSystemSet.mkDevRoot): Ensure /dev/root exists
before stat'ing (Patrick Mansfield, <patmans AT us DOT ibm DOT com>
Diffstat (limited to 'fsset.py')
-rw-r--r-- | fsset.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1278,8 +1278,9 @@ MAILADDR root def mkDevRoot(self, instPath): root = self.getEntryByMountPoint("/") dev = "%s/dev/%s" % (instPath, root.device.getDevice()) + isys.makeDevInode(root.device.getDevice(), dev) rdev = os.stat(dev).st_rdev - + os.mknod("%s/dev/root" % (instPath,), stat.S_IFBLK | 0600, rdev) # return the "boot" device |