blockdev 中文man页面

系统
blockdev 工具允许从命令行调用区块设备控制程序。

NAME

blockdev - 从命令行调用区块设备控制程序  

总览(SYNOPSIS)

blockdev [options] commands devices  

描述(DESCRIPTION)

blockdev 工具允许从命令行调用区块设备控制程序。  

选项(OPTIONS)

-V
打印版本信息并退出。
-q
安静。
-v
详细信息。

命令(COMMANDS)

--setro
设置只读模式。
--setrw
设置读写模式。
--getro
只读模式检测。如果是只读模式,显示1,否则显示0。
--getss
用字节为单位打印扇区大小——一般是512字节。
--getsize
显示设备容量(使用512个字节大小的扇区为单位)
--setra N
设置预读扇区(512字节)为 N 个。
--getra
打印预读扇区(512字节)
--flushbufs
刷新缓存。
--rereadpt
重读分区表。

#p#

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.
责任编辑:韩亚珊 来源: http://cmpp.linuxforum.net
相关推荐

2011-08-24 16:48:36

man中文man

2011-08-15 10:21:09

man中文man

2011-08-11 16:11:49

at中文man

2011-08-25 10:21:56

man.conf中文man

2011-08-25 16:47:37

fwrite中文man

2011-08-25 16:50:08

getc中文man

2011-08-25 16:52:54

getchar中文man

2011-08-25 17:03:51

pclose中文man

2011-08-25 16:22:29

fputc中文man

2011-08-25 16:28:50

fread中文man

2011-08-25 17:24:54

puts中文man

2011-08-25 17:27:58

rewind中文man

2011-08-25 17:32:40

setbuffer中文man

2011-08-25 16:10:52

fgets中文man

2011-08-25 15:54:08

ferror中文man

2011-08-23 17:09:56

telinit中文man

2011-08-23 18:00:21

LDP中文man

2011-08-23 17:42:39

vmstat中文man

2011-08-23 17:49:36

zdump中文man

2011-08-15 15:24:49

wc中文man
点赞
收藏

51CTO技术栈公众号