Detect block size for target partition in Linux

sudo blockdev --getbsz /dev/sda1