version 1.66, 2012/12/29 21:57:13 |
version 1.67, 2013/04/28 14:32:55 |
|
|
return; |
return; |
} |
} |
|
|
if ((biw = lookup_bootinfo(BTINFO_BOOTWEDGE)) != NULL) { |
bid = lookup_bootinfo(BTINFO_BOOTDISK); |
|
biw = lookup_bootinfo(BTINFO_BOOTWEDGE); |
|
|
|
if (biw != NULL) { |
/* |
/* |
* Scan all disk devices for ones that match the passed data. |
* Scan all disk devices for ones that match the passed data. |
* Don't break if one is found, to get possible multiple |
* Don't break if one is found, to get possible multiple |
|
|
continue; |
continue; |
} |
} |
booted_device = dv; |
booted_device = dv; |
booted_partition = 0; |
booted_partition = bid != NULL ? bid->partition : 0; |
booted_nblks = biw->nblks; |
booted_nblks = biw->nblks; |
booted_startblk = biw->startblk; |
booted_startblk = biw->startblk; |
} |
} |
|
|
return; |
return; |
} |
} |
|
|
if ((bid = lookup_bootinfo(BTINFO_BOOTDISK)) != NULL) { |
if (bid != NULL) { |
/* |
/* |
* Scan all disk devices for ones that match the passed data. |
* Scan all disk devices for ones that match the passed data. |
* Don't break if one is found, to get possible multiple |
* Don't break if one is found, to get possible multiple |