Hi:
Code:
root@darkstar~# parted -l
Model: MMC S10032 (sd/mmc)
Disk /dev/mmcblk0: 30.6GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 16.0GB 16.0GB primary ext2
2 16.0GB 30.6GB 14.6GB primary ext2
Error: /dev/mmcblk0boot0: unrecognised disk label
Warning: Error fsyncing/closing /dev/mmcblk0boot0: Input/output error
Retry/Ignore?
While the print command within parted gives no errors!
Code:
root@darkstar~# parted
GNU Parted 3.2
Using /dev/mmcblk0
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) p
Model: MMC S10032 (sd/mmc)
Disk /dev/mmcblk0: 30.6GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 16.0GB 16.0GB primary ext2
2 16.0GB 30.6GB 14.6GB primary ext2
It just doesn't care about /dev/mmcblk0boot0. Nor cfdisk does. As to fdisk this is its output:
Code:
root@darkstar~# fdisk -l
Disk /dev/mmcblk0: 28.5 GiB, 30601641984 bytes, 59768832 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x48727b69
Device Boot Start End Sectors Size Id Type
/dev/mmcblk0p1 2048 31250000 31247953 14.9G 83 Linux
/dev/mmcblk0p2 31250432 59768831 28518400 13.6G 83 Linux
Disk /dev/mmcblk0boot1: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mmcblk0boot0: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
root@darkstar~#
Again no errors at all. A way to explain this? When parted says 'disk label' I know I must understand disk partition and not the ID placed by e2label.