FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Kubuntu User

 
 
LinkBack Thread Tools
 
Old 03-23-2009, 01:46 PM
Chris Lumens
 
Default Let mountFilesystems handling bind mounting /dev (#490772).

---
livecd.py | 1 -
rescue.py | 6 ------
upgrade.py | 2 --
yuminstall.py | 8 --------
4 files changed, 0 insertions(+), 17 deletions(-)

diff --git a/livecd.py b/livecd.py
index c6ed037..ac00e29 100644
--- a/livecd.py
+++ b/livecd.py
@@ -312,7 +312,6 @@ class LiveCDCopyBackend(backend.AnacondaBackend):
isys.mount("/selinux", anaconda.rootPath + "/selinux", "selinuxfs")
except Exception, e:
log.error("error mounting selinuxfs: %s" %(e,))
- isys.mount("/dev", "%s/dev" %(anaconda.rootPath,), bindMount = True)

wait.pop()

diff --git a/rescue.py b/rescue.py
index fdd7847..7d480e7 100644
--- a/rescue.py
+++ b/rescue.py
@@ -331,12 +331,6 @@ def runRescue(anaconda, instClass):
except:
log.error("Error enabling swap")

- # now that dev is udev, bind mount the installer dev there
- isys.mount("/dev", "%s/dev" %(anaconda.rootPath,), bindMount = True)
-
- # and /dev/pts
- isys.mount("/dev/pts", "%s/dev/pts" %(anaconda.rootPath,), bindMount = True)
-
# and /selinux too
if flags.selinux and os.path.isdir("%s/selinux" %(anaconda.rootPath,)):
try:
diff --git a/upgrade.py b/upgrade.py
index 7cb2f5d..c080c86 100644
--- a/upgrade.py
+++ b/upgrade.py
@@ -277,8 +277,6 @@ def upgradeMountFilesystems(anaconda):
message = message + ' ' + n + '
'
anaconda.intf.messageWindow(_("Invalid Directories"), message)
sys.exit(0)
-
- bindMountDevDirectory(anaconda.rootPath)
else:
if not os.access (anaconda.rootPath + "/etc/fstab", os.R_OK):
anaconda.intf.messageWindow(_("Warning"),
diff --git a/yuminstall.py b/yuminstall.py
index 89f3668..9633032 100644
--- a/yuminstall.py
+++ b/yuminstall.py
@@ -1457,14 +1457,6 @@ reposdir=/etc/anaconda.repos.d,/tmp/updates/anaconda.repos.d,/tmp/product/anacon
except Exception, e:
log.error("error mounting selinuxfs: %s" %(e,))

- # we need to have a /dev during install and now that udev is
- # handling /dev, it gets to be more fun. so just bind mount the
- # installer /dev
- log.warning("no dev package, going to bind mount /dev")
- isys.mount("/dev", "%s/dev" %(anaconda.rootPath,), bindMount = True)
- if not upgrade:
- anaconda.id.storage.fsset.mkDevRoot(anaconda.rootP ath)
-
# write out the fstab
if not upgrade:
anaconda.id.storage.fsset.write(anaconda.rootPath)
--
1.6.1.3

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 09:25 AM.

VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org