table of contents
BLOCKDEV(8) | System Administration | BLOCKDEV(8) |
NAME¶
blockdev - call block device ioctls from the command line
SYNOPSIS¶
blockdev [-q] [-v] command [command...] device [device...]
blockdev --report [device...]
blockdev -h|-V
DESCRIPTION¶
The utility blockdev allows one to call block device ioctls from the command line.
OPTIONS¶
-q
-v
--report
-h, --help
-V, --version
COMMANDS¶
It is possible to give multiple devices and multiple commands.
--flushbufs
--getalignoff
--getbsz
--getdiscardzeroes
--getdiskseq
--getzonesz
--getfra
--getiomin
--getioopt
--getmaxsect
--getpbsz
--getra
--getro
--getsize64
--getsize
--getss
--getsz
--rereadpt
--setbsz bytes
--setfra sectors
--setra sectors
--setro
--setrw
AUTHORS¶
blockdev was written by Andries E. Brouwer and rewritten by Karel Zak.
REPORTING BUGS¶
For bug reports, use the issue tracker at <https://github.com/util-linux/util-linux/issues>.
AVAILABILITY¶
The blockdev command is part of the util-linux package which can be downloaded from Linux Kernel Archive <https://www.kernel.org/pub/linux/utils/util-linux/>.
2024-07-04 | util-linux 2.40.2 |