[BusyBox] fdisk with entries not in disk order pb.
magicfox
magicfox at magic.fr
Fri May 14 08:08:46 UTC 2004
Hello,
I used recently fdisk to remember which extra partition number to mount
on busybox. The mount is not a pb. but when entries are not in disk
order, the informations displayed seems to be wrong.
Busybox fdisk:
-------------
# fdisk -l /dev/hda
Warning: ignoring extra data in partition table 5
Warning: ignoring extra data in partition table 5
Warning: ignoring extra data in partition table 6
Warning: invalid flag 0x1ac9 of partition table 5 will be corrected by
w(rite)
Warning: invalid flag 0x0026 of partition table 6 will be corrected by
w(rite)
Disk /dev/hda: 40.0 GB, 40027029504 bytes
255 heads, 63 sectors/track, 4866 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 1992 16000708+ 83 Linux
/dev/hda2 1993 4866 23085405 5 Extended
/dev/hda5 ? 85074 164322 636558932 af Unknown
/dev/hda6 ? 105121 250671 1169129465 ff Unknown
GNU-fdisk:
----------
# fdisk -l /dev/hda
Disk /dev/hda : 255 heads, 63 sectors/track, 4866 cylinders
Units = cylinders of 16065 * 512
Device Boot Start End Blocks Id System
/dev/hda1 * 1 1992 16000708+ 83 Linux
/dev/hda2 1993 4866 23085405 5 Extended
/dev/hda5 1993 2085 746991 82 Linux Swap
/dev/hda6 2086 3301 9767488+ 83 Linux
/dev/hda7 3302 4207 7277413+ 83 Linux
/dev/hda8 4275 4866 4755208+ c Win95 FAT32 (LBA)
/dev/hda9 4208 4274 538146 83 Linux
Partition table entries are not in disk order
I think that my partitions are 'like that' because i used resize,
move, add, ... many times without any pb. (warning message excepted).
King regards
More information about the busybox
mailing list