diff options
author | Matt Wilson <msw@redhat.com> | 1999-10-22 19:32:38 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 1999-10-22 19:32:38 +0000 |
commit | 1fd6585406744fec328b38bd62957ec063b2452f (patch) | |
tree | 745ba23bd7c4d8abfbaa51b6bf9e1585532c478b /balkan/dos.c | |
parent | a29f74c35f97793fe68ce93387a97051890243b4 (diff) | |
download | anaconda-1fd6585406744fec328b38bd62957ec063b2452f.tar.gz anaconda-1fd6585406744fec328b38bd62957ec063b2452f.tar.xz anaconda-1fd6585406744fec328b38bd62957ec063b2452f.zip |
merge from 6.1 branch
Diffstat (limited to 'balkan/dos.c')
-rw-r--r-- | balkan/dos.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/balkan/dos.c b/balkan/dos.c index cdd60ecfc..40410fadc 100644 --- a/balkan/dos.c +++ b/balkan/dos.c @@ -30,6 +30,7 @@ struct singlePartitionTable { #define SECTOR_SIZE 512 #define DOSP_TYPE_EXTENDED 5 +#define WINP_TYPE_EXTENDED 0xf long long llseek(int fd, long long offset, int whence); @@ -72,7 +73,8 @@ static int readNextTable(int fd, struct partitionTable * table, int nextNum, for (i = 0; i < 4; i++) { if (!singleTable.parts[i].size) continue; - if (singleTable.parts[i].type == DOSP_TYPE_EXTENDED && + if ((singleTable.parts[i].type == DOSP_TYPE_EXTENDED || + singleTable.parts[i].type == WINP_TYPE_EXTENDED) && nextNum >= 4) continue; if (nextNum < 4) @@ -133,7 +135,6 @@ int dospReadTable(int fd, struct partitionTable * table) { case 0x0b: case 0x0c: case 0x0e: - case 0x0f: table->parts[i].type = BALKAN_PART_DOS; break; |