blockdev –getsize64 /dev/sda

Today I learned you can get the size of a block device with e.g.: sudo blockdev --getsize64 /dev/sda

Leave a Reply