diff options
| author | Jeremy Katz <katzj@redhat.com> | 2003-02-18 00:45:54 +0000 |
|---|---|---|
| committer | Jeremy Katz <katzj@redhat.com> | 2003-02-18 00:45:54 +0000 |
| commit | 0c8eba97b35d7503336bc7b2ea154ce98aebaaf2 (patch) | |
| tree | 7f8da4dbbf3dde47de40ba8eea7a6b583b10e15e /loader2/cdinstall.c | |
| parent | 9a5589e67a1862f7e49e62d2b65e54db54b7c787 (diff) | |
support bind mounts for upgrade/rescue mode.
basically, create a new filesystem type and device which get used and add
a keyword parameter for mounting
the diff looks large, but most of it is adjusting callers of doPwMount in
the loader
Diffstat (limited to 'loader2/cdinstall.c')
| -rw-r--r-- | loader2/cdinstall.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/loader2/cdinstall.c b/loader2/cdinstall.c index 2e44b6cbc..f9366f660 100644 --- a/loader2/cdinstall.c +++ b/loader2/cdinstall.c @@ -158,7 +158,7 @@ static void mountCdromStage2(char *cddev) { do { do { if (doPwMount("/tmp/cdrom", "/mnt/source", - "iso9660", 1, 0, NULL, NULL)) { + "iso9660", 1, 0, NULL, NULL, 0)) { ejectCdrom(); wrongCDMessage(); } else { @@ -317,7 +317,7 @@ char * setupCdrom(char * location, logMessage("trying to mount device %s", kd->known[i].name); devMakeInode(kd->known[i].name, "/tmp/cdrom"); if (!doPwMount("/tmp/cdrom", "/mnt/source", "iso9660", 1, 0, - NULL, NULL)) { + NULL, NULL, 0)) { if (!access("/mnt/source/RedHat/base/stage2.img", R_OK) && (FL_RESCUE(flags) || !access("/mnt/source/.discinfo", R_OK))) { rc = mountStage2("/mnt/source/RedHat/base/stage2.img"); |
