Changeset 62ba20d in rtems


Ignore:
Timestamp:
Dec 3, 2013, 7:55:34 PM (6 years ago)
Author:
Wendell P Silva <silvawp@…>
Branches:
4.11, master
Children:
133f3cce
Parents:
09a8188
git-author:
Wendell P Silva <silvawp@…> (12/03/13 19:55:34)
git-committer:
Gedare Bloom <gedare@…> (12/03/13 19:55:34)
Message:

PR2157: fdisk partition table dump improvement

Show the correct index of partition's last block (partition end).

The documentation of struct rtems_bdpart_partition (P) says that the member
'end' is the "Block index for partition end (this block is not a part of the
partition)". Then, the fdisk's partition table dump should print ((P)->end -
1).

Currently, one can think that the last block of a partition P is superposing
the beginning of the partition (P + 1). Example:


PARTITION TABLE


BEGIN | END | TYPE


2048 | 133120 | FAT 32

133120 | 15628032 | FAT 32


With be proposed patch, it would be:


PARTITION TABLE


BEGIN | END | TYPE


2048 | 133119 | FAT 32

133120 | 15628031 | FAT 32


File:
1 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.