Skip to content

Instantly share code, notes, and snippets.

@milesrout
Forked from anonymous/# fdisk -l devsda;
Last active June 10, 2016 07:53
Show Gist options
  • Save milesrout/ecf8a619a85251661b7e6fafaf89873d to your computer and use it in GitHub Desktop.
Save milesrout/ecf8a619a85251661b7e6fafaf89873d to your computer and use it in GitHub Desktop.
# fdisk -l /dev/sda;
# fdisk -l /dev/sda
Disk /dev/sda: 111.8 GiB, 120034123776 bytes, 234441648 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: 0x2c6ee985
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 206847 204800 100M 7 HPFS/NTFS/exFAT
/dev/sda2 206848 234436607 234229760 111.7G 7 HPFS/NTFS/exFAT
# fdisk -l /dev/sdb
Disk /dev/sdb: 2.7 TiB, 3000592982016 bytes, 5860533168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 9EA41D49-3C56-4297-A45B-219720526BBC
Device Start End Sectors Size Type
/dev/sdb1 2048 4294967295 4294965248 2T Microsoft basic data
/dev/sdb2 4294967296 4296015871 1048576 512M EFI System
/dev/sdb3 4296015872 5860532223 1564516352 746G Microsoft basic data
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment