Changeset 1692:fec0af2ae023
- 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:
-
Legend:
- Unmodified
- Added
- Removed
-
|
r1687
|
r1692
|
|
| 506 | 506 | os.mkdir(mount_dir) |
| 507 | 507 | |
| 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: |
| 512 | 513 | INFO("/bin/mount failed with value %d" % (d.result,)) |
| 513 | 514 | yield False |