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-11 15:03:21

ACCESS中文man

2011-08-16 10:59:16

pwconv中文man

2011-08-19 18:30:52

ipc中文man

2011-08-25 17:18:07

putc中文man

2011-08-15 13:53:19

stat中文man

2011-08-25 15:24:31

execlp中文man

2011-08-15 18:06:07

restore中文man

2011-08-15 15:45:04

xpdf中文man

2011-08-24 17:06:42

NOTIFY中文man

2011-08-15 14:42:28

uname中文man

2011-08-15 11:30:37

pwd中文man

2011-08-23 14:24:42

ping中文man

2011-08-15 11:01:45

2011-08-25 17:15:16

printf中文man

2011-08-25 16:44:46

ftrylockfil中文man

2011-08-23 17:24:11

userdel中文man
点赞
收藏

51CTO技术栈公众号