summaryrefslogtreecommitdiffstats
path: root/loader2/hdinstall.c
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2005-09-15 22:12:39 +0000
committerJeremy Katz <katzj@redhat.com>2005-09-15 22:12:39 +0000
commitaccc49c458eb7c7dc3660cbe65b3b34b340dfeef (patch)
tree4e1c594ecb74d73307820dccf1ac5bf29304456c /loader2/hdinstall.c
parent5e1e9a0619de4c5103a99379312fb71eb7de3a63 (diff)
downloadanaconda-accc49c458eb7c7dc3660cbe65b3b34b340dfeef.tar.gz
anaconda-accc49c458eb7c7dc3660cbe65b3b34b340dfeef.tar.xz
anaconda-accc49c458eb7c7dc3660cbe65b3b34b340dfeef.zip
2005-09-15 Jeremy Katz <katzj@redhat.com>
* isys/imount.c (doPwMount): Make arguments for doPwMount simpler. Use a bitmask of flags and pass extra data like mount(2). Use flags for nfs and pass arguments onto nfsmount(). Kill some dead code. * isys/imount.c (doPwMount): Update prototype, add constants. * isys/isys.c (doMount): Update for new API. * loader2/cdinstall.c: Likewise. * loader2/driverdisk.c: Likewise. * loader2/hdinstall.c: Likewise. * loader2/loader.c: Likewise. * loader2/method.c: Likewise. * loader2/nfsinstall.c: Likewise. * loader2/usb.c: Likewise.
Diffstat (limited to 'loader2/hdinstall.c')
-rw-r--r--loader2/hdinstall.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/loader2/hdinstall.c b/loader2/hdinstall.c
index 5b2ec9b01..e887b8efb 100644
--- a/loader2/hdinstall.c
+++ b/loader2/hdinstall.c
@@ -189,7 +189,8 @@ static char * setupIsoImages(char * device, char * dirName, int flags) {
/* XXX try to mount as ext2 and then vfat */
for (type=typetry; *type; type++) {
- if (!doPwMount("/tmp/hddev", "/tmp/hdimage", *type, 1, 0, NULL, NULL, 0, 0))
+ if (!doPwMount("/tmp/hddev", "/tmp/hdimage", *type,
+ IMOUNT_RDONLY, NULL))
break;
}