Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:
Select Section of Man Page:
Select Man Page Repository:
apropos Keyword Search (sections above)

RedHat 9 (Linux i386) - man page for blockdev (redhat section 8)

BLOCKDEV(8)									      BLOCKDEV(8)

NAME
       blockdev - call block device ioctls from the command line

SYNOPSIS
       blockdev [options] commands 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.

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.

       --getsize
	      Print device capacity (in 512-byte sectors).

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

       --getra
	      Print readahead (in 512-byte sectors).

       --flushbufs
	      Flush buffers.

       --rereadpt
	      Reread partition table.

					     May 2000				      BLOCKDEV(8)


All times are GMT -4. The time now is 11:34 AM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
×
UNIX.COM Login
Username:
Password:  
Show Password





Not a Forum Member?
Forgot Password?