blockdev man page on aLinux

Man page or keyword search:  
man Server   7435 pages
apropos Keyword Search (all sections)
Output format
aLinux logo
[printable version]

BLOCKDEV(8)							   BLOCKDEV(8)

NAME
       blockdev - call block device ioctls from the command line

SYNOPSIS
       blockdev [options] commands devices
       blockdev --report [devices]

DESCRIPTION
       The  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.

AUTHOR
       blockdev was written by Andries E. Brouwer.

AVAILABILITY
       The blockdev command is part of the util-linux-ng package and is availā€
       able from ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/.

				   Jun 2007			   BLOCKDEV(8)
[top]

List of man pages available for aLinux

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
...................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net