Changeset 1692:fec0af2ae023

Show
Ignore:
Timestamp:
07/10/08 10:30:04 (3 months ago)
Author:
klai@…
Branch:
default
Message:

Get more debugging information when mount during file system configuration fails

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/Tycoon/Virtualization/XenUtil.py

    r1687 r1692  
    506506            os.mkdir(mount_dir) 
    507507 
    508         d = utils.getProcessValue( 
    509             "/bin/mount", ("-o", "loop", file_system_fn, mount_dir)) 
    510         yield d 
    511         if d.result != 0: 
     508        d = OSUtil.do2( 
     509            self.__reactor, "/bin/mount", "-o", "loop", file_system_fn,  
     510            mount_dir) 
     511        yield d 
     512        if d.result[0] != 0: 
    512513            INFO("/bin/mount failed with value %d" % (d.result,)) 
    513514            yield False