Query: blockdev
OS: suse
Section: 8
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
BLOCKDEV(8) System Manager's Manual BLOCKDEV(8)NAMEblockdev - call block device ioctls from the command lineSYNOPSISblockdev [options] commands devices blockdev --report [devices]DESCRIPTIONThe utility blockdev allows one to call block device ioctls from the command line.OPTIONS-V Print version and exit. -q Be quiet. -v Be verbose. --report Print a report for devices. Note that the partition StartSec is in 512-byte sectors.COMMANDS--setro Set read-only. --setrw Set read-write. --getro Get read-only. Print 1 if the device is read-only, 0 otherwise. --getss Print sectorsize in bytes - usually 512. --getbsz Print blocksize in bytes. --setbsz N Set blocksize to N bytes. --getsize Print device size in sectors (BLKGETSIZE). Deprecated in favor of the --getsz option. --getsize64 Print device size in bytes (BLKGETSIZE64) --getsz Get size in 512-byte sectors (BLKGETSIZE64 / 512). --setra N Set readahead to N 512-byte sectors. --getra Print readahead (in 512-byte sectors). --setfra N Set filesystem readahead (same like --setra on 2.6 kernels). --getfra Get filesystem readahead. --flushbufs Flush buffers. --rereadpt Reread partition table.AUTHORblockdev was written by Andries E. Brouwer.AVAILABILITYThe blockdev command is part of the util-linux-ng package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/. Jun 2007 BLOCKDEV(8)
Related Man Pages |
---|
blockdev(8) - centos |
rawdevices(8) - centos |
raw(8) - centos |
raw(8) - linux |
addpart(8) - opensolaris |
Similar Topics in the Unix Linux Community |
---|
howaboutinstallingyellowdog |
Do linux have a device file for ETHERNET CARD. |
dd bytesize |
file size |