note to self about dd sizes
#####################
Pick small block size then multiply by count to get size
ex:
dd if=/dev/zero bs=1M count=1024
That will get
1 Mib of a block size which each one is 1024*1024 bytes
Then to go from Mib to Gib you need 1024 Mibs
So count is 1024
The math is
Mib*1024 bytes = 1 Gib
1024*1024*1024 bytes = 1 Gib
Simple and obvious
BYTES (NO LETTERS)
bs=1, 1 bytes
bs=2, 2 bytes
dd if=/dev/zero bs=4 count=3
12 bytes
4 bytes *#
BASE 2
“b”=blocks of 512 Bytes (half a kilobyte)
“k”,”K“=KiB 1024 bytes
“M“=MiB 1024 bytes * 1024
“G“=GiB 1024 bytes * 1024 * 1024
REMEMBER: single capital letter is base 2, and that a “b” is not bytes but its a sector in size (or 512 bytes, half of a kilo)
THOUSANDS (base 10)
“KB” = KB, 1000 bytes
“MB” = MB, 1000 bytes * 1000
“GB” = GB, 1000 bytes * 1000 * 1000
REMEMBER: double letter both capital is base 10