Signup
Search Linux manpages For:  

blockdev(8) -- Linux man page

 

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.


 
LINUX MAN PAGES
Man1 -- User Commands (Intro)
Man2 -- System Calls (Intro)
Man3 -- Library Functions (Intro)
Man4 -- Special Files (Intro)
Man5 -- File Formats (Intro)
Man6 -- Games (Intro)
Man7 -- Miscellaneous (Intro)
Man8 -- Administration (Intro)
Mann -- TCL Functions (not available)


WEB HOSTING SHOWCASE



 
Cheap Web HostingBudget Web HostingEcommerce Web Hosting
Link to UsLink ExchangeAdvertisePrivacy PolicyTerms Of ServiceAbout UsContact UsSitemap
Copyright © 2006 - 2012 Broadband Media, Inc. All rights reserved.