Changeset 9aa54d4a in mainline for uspace/srv/part/mbr_part/mbr_part.c
- Timestamp:
- 2009-09-04T10:37:13Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7e266ff
- Parents:
- e27b89a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/part/mbr_part/mbr_part.c
re27b89a r9aa54d4a 39 39 * 40 40 * Limitations: 41 * 41 * 42 42 * Only works with boot records using LBA. CHS-only records are not 43 * supported. Maximum number of partitions is fixed. 43 * supported. 44 * 45 * Referemces: 46 * 47 * The source of MBR structures for this driver have been the following 48 * Wikipedia articles: 49 * - http://en.wikipedia.org/wiki/Master_Boot_Record 50 * - http://en.wikipedia.org/wiki/Extended_boot_record 51 * 52 * The fact that the extended partition has type 0x05 is pure observation. 53 * (TODO: can it have any other type number?) 44 54 */ 45 55 … … 70 80 71 81 /** Boot record signature */ 72 BR_SIGNATURE = 0xAA55 ,82 BR_SIGNATURE = 0xAA55 73 83 }; 74 84 … … 366 376 367 377 part->present = (sa != 0 || len != 0) ? true : false; 378 368 379 part->dev = 0; 369 380 part->next = NULL;
Note:
See TracChangeset
for help on using the changeset viewer.