summaryrefslogtreecommitdiffstats
path: root/loader/loader.c
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2000-07-11 12:31:05 +0000
committerMatt Wilson <msw@redhat.com>2000-07-11 12:31:05 +0000
commitb92420915ba5cb99e18e0841a8fe46161760ac66 (patch)
tree70403040b4ff910e1121770f564a0870bad3feeb /loader/loader.c
parent8aecedb9e86d06b3322416e10f4b16e802c2063d (diff)
downloadanaconda-b92420915ba5cb99e18e0841a8fe46161760ac66.tar.gz
anaconda-b92420915ba5cb99e18e0841a8fe46161760ac66.tar.xz
anaconda-b92420915ba5cb99e18e0841a8fe46161760ac66.zip
fall back to ext2
Diffstat (limited to 'loader/loader.c')
-rw-r--r--loader/loader.c15
1 files changed, 9 insertions, 6 deletions
diff --git a/loader/loader.c b/loader/loader.c
index a6d4aa2c9..47a01799f 100644
--- a/loader/loader.c
+++ b/loader/loader.c
@@ -796,12 +796,15 @@ static int mountLoopback(char * fsystem, char * mntpoint, char * device) {
close(loopfd);
if (doPwMount("/tmp/loop", "/mnt/runtime", "iso9660", 1,
- 0, NULL, NULL)) {
- logMessage("failed to mount loop: %s",
- strerror(errno));
- return LOADER_ERROR;
- }
-
+ 0, NULL, NULL))
+ if (doPwMount("/tmp/loop", "/mnt/runtime", "ext2", 1,
+ 0, NULL, NULL)) {
+
+ logMessage("failed to mount loop: %s",
+ strerror(errno));
+ return LOADER_ERROR;
+ }
+
return 0;
}