BLOCKDEV
Section: Maintenance Commands (8)Updated: May 2000
Index Return to Main Contents
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
 - 重读分区表。
 
[中文版维护人]
billpan <billpan@netease.com>[中文版最新更新]
2002/01/10《中国linux论坛man手册页翻译计划》:
http://cmpp.linuxforum.net
Index
- NAME
 - 总览(SYNOPSIS)
 - 描述(DESCRIPTION)
 - 选项(OPTIONS)
 - 命令(COMMANDS)
 - [中文版维护人]
 - [中文版最新更新]
 - 《中国linux论坛man手册页翻译计划》:
 
This document was created by man2html, using the manual pages.
Time: 13:13:01 GMT, December 24, 2015