FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > 64 Studio > 64 Studio User

 
 
LinkBack Thread Tools
 
Old 09-30-2011, 05:54 PM
"Brian C. Lane"
 
Default Add nfsiso: handling to parseNfsHostPathOpts

From: "Brian C. Lane" <bcl@redhat.com>

This was causing the wrong url to be used when looking for RHUpdates/,
updates.img and product.img on an nfs .iso install.

NOTE: Tested along with fix for #741466
---
loader/nfsinstall.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/loader/nfsinstall.c b/loader/nfsinstall.c
index d29e98a..f46e79e 100644
--- a/loader/nfsinstall.c
+++ b/loader/nfsinstall.c
@@ -123,12 +123,14 @@ static int nfsGetSetup(char ** hostptr, char ** dirptr, char ** optsptr) {

/* Parse nfs: url and return its componenets
*
- * nfs[ptions]:<server>:<path>
+ * (nfs|nfsiso)[ptions]:<server>:<path>
*/
void parseNfsHostPathOpts(char *url, char **host, char **path, char **opts) {
- /* Skip over the leading nfs: if present. */
+ /* Skip over the leading nfs: or nfsiso: if present. */
if (!strncmp(url, "nfs:", 4))
url += 4;
+ else if (!strncmp(url, "nfsiso:", 7))
+ url += 7;

logMessage(DEBUGLVL, "parseNfsHostPathOpts url: |%s|", url);

--
1.7.6

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 09-30-2011, 08:32 PM
Chris Lumens
 
Default Add nfsiso: handling to parseNfsHostPathOpts

> This was causing the wrong url to be used when looking for RHUpdates/,
> updates.img and product.img on an nfs .iso install.
>
> NOTE: Tested along with fix for #741466

This looks fine. I'd be okay with it for f16-branch since it does look
pretty obviously correct.

- Chris

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 12:33 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org