Using a 32Gb SDHC
desk:/home/ion/DATA/PINE/ARCH # dd if=/dev/zero of=/dev/sdc bs=5M status=progress
dd: error writing '/dev/sdc': No space left on device
1+0 records in
0+0 records out
4194304 bytes (4.2 MB, 4.0 MiB) copied, 0.0045466 s, 923 MB/s
desk:/home/ion/DATA/PINE/ARCH #
desk:/home/ion/DATA/PINE/ARCH # gdisk
GPT fdisk (gdisk) version 1.0.8
Type device filename, or press <Enter> to exit: /dev/sdc
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present
Found valid GPT with protective MBR; using GPT.
Command (? for help): d
Using 1
Command (? for help): p
Disk /dev/sdc: 8192 sectors, 4.0 MiB
Model: Flash Reader
Sector size (logical): 512 bytes
Disk identifier (GUID): FCA0FEFE-5310-4E99-9EA3-3AE133344E0A
Partition table holds up to 128 entries
Main partition table begins at sector 2 and ends at sector 33
First usable sector is 34, last usable sector is 8158
Partitions will be aligned on 2048-sector boundaries
Total free space is 8125 sectors (4.0 MiB)
Number Start (sector) End (sector) Size Code Name
Command (? for help): n
Partition number (1-128, default 1):
First sector (34-8158, default = 2048) or {+-}size{KMGTP}:
Last sector (2048-8158, default = 8158) or {+-}size{KMGTP}:
Current type is 8300 (Linux filesystem)
Hex code or GUID (L to show codes, Enter = 8300):
Changed type of partition to 'Linux filesystem'
Command (? for help): p
Disk /dev/sdc: 8192 sectors, 4.0 MiB
Model: Flash Reader
Sector size (logical): 512 bytes
Disk identifier (GUID): FCA0FEFE-5310-4E99-9EA3-3AE133344E0A
Partition table holds up to 128 entries
Main partition table begins at sector 2 and ends at sector 33
First usable sector is 34, last usable sector is 8158
Partitions will be aligned on 2048-sector boundaries
Total free space is 2014 sectors (1007.0 KiB)
Number Start (sector) End (sector) Size Code Name
1 2048 8158 3.0 MiB 8300 Linux filesystem
Command (? for help): q
desk:/home/ion/DATA/PINE/ARCH #