*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Linux man pages -> blockdev (8)              



NAME    [Toc]    [Back]

       blockdev - call block device ioctls from the command line

SYNOPSIS    [Toc]    [Back]

       blockdev [options] commands devices

DESCRIPTION    [Toc]    [Back]

       The  utility  blockdev  allows one to call block device ioctls from the
       command line.

OPTIONS    [Toc]    [Back]

       -V     Print version and exit.

       -q     Be quiet.

       -v     Be verbose.

COMMANDS    [Toc]    [Back]

	      Set read-only.

	      Set read-write.

	      Get read-only. Print 1 if the device is read-only, 0  otherwise.

	      Print sectorsize in bytes - usually 512.

	      Print device capacity (in 512-byte sectors).

       --setra N
	      Set readahead to N 512-byte sectors.

	      Print readahead (in 512-byte sectors).

	      Flush buffers.

	      Reread partition table.

				   May 2000			   BLOCKDEV(8)
[ Back ]
 Similar pages
Name OS Title
dmMPEG1AudioDecode IRIX decodes a single compressed block of data created by a call to dmMPEG1AudioEncode(3dm).
edit Tru64 Edits a file line by line with a simplified command set
ipxfargc IRIX Returns the number of command-line arguments excluding the command name
VkForkIO IRIX Command-line interface to shell command component
watch Linux call Tcl procedures before and after each command
ioctl NetBSD how to implement a new ioctl call to access device drivers
mtest FreeBSD test multicast membership socket operations and ioctls
parseargv IRIX process command-line options
openssl OpenBSD OpenSSL command line tool
pxfgetarg IRIX Returns a command-line argument
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service