summaryrefslogtreecommitdiff
path: root/cpukit/libblock/src/bdpart-dump.c (follow)
AgeCommit message (Collapse)Author
2014-03-21Change all references of rtems.com to rtems.org.Chris Johns
2013-12-04libblock: Use LAST for the last partition blockSebastian Huber
2013-12-03PR2157: fdisk partition table dump improvementWendell P Silva
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 ------------+------------+--------------
2012-12-21libblock: Doxygen Enhancement Task #1Mathew Kallada
2010-04-302010-04-30 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber
* libblock/src/bdpart.c: Removed file. * libblock/src/bdpart-create.c, libblock/src/bdpart-dump.c, libblock/src/bdpart-mount.c, libblock/src/bdpart-read.c, libblock/src/bdpart-register.c, libblock/src/bdpart-sort.c, libblock/src/bdpart-write.c: New files. * libblock/include/rtems/bdpart.h: Moved some definitions from bdpart.c. * libblock/Makefile.am: Update for file changes.