summaryrefslogtreecommitdiffstats
path: root/loader2/getparts.c
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2004-09-23 23:11:59 +0000
committerJeremy Katz <katzj@redhat.com>2004-09-23 23:11:59 +0000
commit427146c38de3cb033d8bd32f1f455b035e23d091 (patch)
tree93f60fd736e16a72008526143b3eca0657131ea9 /loader2/getparts.c
parent2474183a0f8f1e47745821ef00c35c2883f5709f (diff)
downloadanaconda-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.c3
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;