Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- adb devices
- List of devices attached
- 0000000000000000 recovery
- mateor@mateor-HP-Pavilion-dv6700:~/android/autopatcher/master/new/auto-patcher$ adb shell
- ~ # fdisk /dev/block/mmcblk0
- The number of cylinders for this disk is set to 242432.
- There is nothing wrong with that, but this is larger than 1024,
- and could in certain setups cause problems with:
- 1) software that runs at boot time (e.g., old versions of LILO)
- 2) booting and partitioning software from other OSs
- (e.g., DOS FDISK, OS/2 FDISK)
- Command (m for help): d
- Partition number (1-8): 4
- Command (m for help): p
- Disk /dev/block/mmcblk0: 7944 MB, 7944011776 bytes
- 4 heads, 16 sectors/track, 242432 cylinders
- Units = cylinders of 64 * 512 = 32768 bytes
- Device Boot Start End Blocks Id System
- /dev/block/mmcblk0p1 * 1 2260 72261 c Win95 FAT32 (LBA)
- Partition 1 does not end on cylinder boundary
- /dev/block/mmcblk0p2 2260 4519 72292+ c Win95 FAT32 (LBA)
- Partition 2 does not end on cylinder boundary
- /dev/block/mmcblk0p3 4486 14024 305235 83 Linux
- Partition 3 does not end on cylinder boundary
- Command (m for help): p
- Disk /dev/block/mmcblk0: 7944 MB, 7944011776 bytes
- 4 heads, 16 sectors/track, 242432 cylinders
- Units = cylinders of 64 * 512 = 32768 bytes
- Device Boot Start End Blocks Id System
- /dev/block/mmcblk0p1 * 1 2260 72261 c Win95 FAT32 (LBA)
- Partition 1 does not end on cylinder boundary
- /dev/block/mmcblk0p2 2260 4519 72292+ c Win95 FAT32 (LBA)
- Partition 2 does not end on cylinder boundary
- /dev/block/mmcblk0p3 4486 14024 305235 83 Linux
- Partition 3 does not end on cylinder boundary
- Command (m for help): n
- Command action
- e extended
- p primary partition (1-4)
- e
- Selected partition 4
- First cylinder (14024-242432, default 14024): Using default value 14024
- Last cylinder or +size or +sizeM or +sizeK (14024-242432, default 242432): Using default value 242432
- Command (m for help): n
- First cylinder (14024-242432, default 14024): Using default value 14024
- Last cylinder or +size or +sizeM or +sizeK (14024-242432, default 242432): +57
- Command (m for help): n
- First cylinder (14082-242432, default 14082): Using default value 14082
- Last cylinder or +size or +sizeM or +sizeK (14082-242432, default 242432): +121
- Command (m for help): n
- First cylinder (14204-242432, default 14204): Using default value 14204
- Last cylinder or +size or +sizeM or +sizeK (14204-242432, default 242432): +44
- Command (m for help): n
- First cylinder (14249-242432, default 14249): Using default value 14249
- Last cylinder or +size or +sizeM or +sizeK (14249-242432, default 242432): Using default value 242432
- Command (m for help): t
- Partition number (1-8): 8
- Hex code (type L to list codes): c
- Changed system type of partition 8 to c (Win95 FAT32 (LBA))
- Command (m for help): w
- The partition table has been altered!
- Calling ioctl() to re-read partition table
- fdisk: WARNING: rereading partition table failed, kernel still uses old table: Device or resource busy
- ... A REBOOT ...
- adb shell
- ~ # fdisk -l /dev/block/mmcblk0
- Disk /dev/block/mmcblk0: 7944 MB, 7944011776 bytes
- 4 heads, 16 sectors/track, 242432 cylinders
- Units = cylinders of 64 * 512 = 32768 bytes
- Device Boot Start End Blocks Id System
- /dev/block/mmcblk0p1 * 1 2260 72261 c Win95 FAT32 (LBA)
- Partition 1 does not end on cylinder boundary
- /dev/block/mmcblk0p2 2260 4519 72292+ c Win95 FAT32 (LBA)
- Partition 2 does not end on cylinder boundary
- /dev/block/mmcblk0p3 4486 14024 305235 83 Linux
- Partition 3 does not end on cylinder boundary
- /dev/block/mmcblk0p4 14024 242432 7309068+ 5 Extended
- /dev/block/mmcblk0p5 14024 14081 1828+ 83 Linux
- /dev/block/mmcblk0p6 14082 14203 3896 83 Linux
- /dev/block/mmcblk0p7 14204 14248 1432 83 Linux
- /dev/block/mmcblk0p8 14249 242432 7301880 c Win95 FAT32 (LBA)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement