diff options
author | Jeremy Katz <katzj@redhat.com> | 2004-09-23 23:11:59 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2004-09-23 23:11:59 +0000 |
commit | 427146c38de3cb033d8bd32f1f455b035e23d091 (patch) | |
tree | 93f60fd736e16a72008526143b3eca0657131ea9 /loader2/getparts.c | |
parent | 2474183a0f8f1e47745821ef00c35c2883f5709f (diff) | |
download | anaconda-427146c38de3cb033d8bd32f1f455b035e23d091.tar.gz anaconda-427146c38de3cb033d8bd32f1f455b035e23d091.tar.xz anaconda-427146c38de3cb033d8bd32f1f455b035e23d091.zip |
2004-09-23 Jeremy Katz <katzj@redhat.com>
* loader2/getparts.c (isPartitionName): i2o devices don't use a
"p" separator (#133379)
Diffstat (limited to 'loader2/getparts.c')
-rw-r--r-- | loader2/getparts.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/loader2/getparts.c b/loader2/getparts.c index 1c8688cd4..12686fb30 100644 --- a/loader2/getparts.c +++ b/loader2/getparts.c @@ -32,7 +32,8 @@ static int isPartitionName(char *pname) { return 0; /* if it has a '/' in it then treat it specially */ - if (strchr(pname, '/') && !strstr(pname, "iseries")) { + if (strchr(pname, '/') && !strstr(pname, "iseries") && + !strstr(pname, "i2o")) { /* assume its either a /dev/ida/ or /dev/cciss device */ /* these have form of c?d?p? if its a partition */ return strchr(pname, 'p') != NULL; |