Re: memory usage and stage2= ??

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 : ".");
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux