[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: memory usage and stage2= ??
- From: Jerry Vonau <jvonau shaw ca>
- To: Discussion of Development and Customization of the Red Hat Linux Installer <anaconda-devel-list redhat com>
- Subject: Re: memory usage and stage2= ??
- Date: Sun, 23 Mar 2008 11:18:50 -0500
Jerry Vonau wrote:
Hope it's useful to someone else,
Let's see if this one gets mangled...
Jerry
190,193c190,199
< if (!access(stg2path, F_OK)) {
< rc = mountStage2(stg2path, dirName);
< free(dirspec);
< free(path);
---
> if (!access(stg2path, F_OK)) {
> rc = umount("/mnt/isodir");
> logMessage(INFO, "Remounting /mnt/isodir as /mnt/source");
> if (!doPwMount(device, "/mnt/source", *type, "ro"));
> rc = asprintf(&dirspec, "/mnt/source%s", stg2);
> rc = asprintf(&stg2path, "%s/stage2.img", dirspec);
> logMessage(INFO, "Looking for %s on HD", stg2path);
> rc = mountStage2(stg2path, dirName);
> free(dirspec);
> free(path);
200c206
< rc = asprintf(&url, "hd:%s:%s:/%s", device,
---
> rc = asprintf(&url, "hd:%s:%s:/%s", strrchr(device, '/')+1,
226,227c232,233
< rc = asprintf(&url, "hd:%s:%s:/%s", strrchr(device, '/')+1,
< *type, dirName ? dirName : ".");
---
> rc = asprintf(&url, "hd:%s:%s:/%s", strrchr(device, '/')+1,
> *type, dirName ? dirName : ".");
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]