From: Marc Fiuczynski Date: Fri, 15 Feb 2008 22:49:34 +0000 (+0000) Subject: mount explicitly with -t ext3; be more verbose with log info X-Git-Tag: BootManager-3.2-5~25 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=8cb139ee4c3a0a184dbbf7c100968e7bcda13308;p=bootmanager.git mount explicitly with -t ext3; be more verbose with log info --- diff --git a/source/steps/ValidateNodeInstall.py b/source/steps/ValidateNodeInstall.py index 30cb0af..7505335 100644 --- a/source/steps/ValidateNodeInstall.py +++ b/source/steps/ValidateNodeInstall.py @@ -93,12 +93,17 @@ def Run( vars, log ): utils.makedirs( SYSIMG_PATH ) try: - utils.sysexec("mount %s %s" % (PARTITIONS["root"],SYSIMG_PATH),log) - utils.sysexec("mount %s %s/vservers" % \ + log.write( "mounting root file system\n" ) + utils.sysexec("mount -t ext3 %s %s" % (PARTITIONS["root"],SYSIMG_PATH),log) + + log.write( "mounting vserver partition in root file system\n" ) + utils.sysexec("mount -t ext3 %s %s/vservers" % \ (PARTITIONS["vservers"], SYSIMG_PATH), log) + + log.write( "mounting /proc\n" ) utils.sysexec( "mount -t proc none %s/proc" % SYSIMG_PATH, log ) except BootManagerException, e: - log.write( "BootManagerException during vgscan/vgchange: %s\n" % + log.write( "BootManagerException during mount of /root, /vservers and /proc: %s\n" % str(e) ) return 0