blockdev [-q] [-v] command [command...] device [device...] blockdev --report [device...]
The utility blockdev allows one to call block device ioctls from the command line.
It is possible to give multiple devices and multiple commands.
blockdev was written by Andries E. Brouwer and rewritten by Karel Zak.
The blockdev command is part of the util-linux package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux/.