Linux rdev命令

Linux 教程 · 2019-02-17 23:42:16

Linux rdev命令可以用来查询/设置内核映像文件的根设备,RAM 磁盘大小或视频模式。

不带任何参数的 rdev 命令将输出当前根文件系统的 /etc/mtab 文件行。不带任何参数的 ramsize, vidmode, 和 rootflags 将显示帮助信息。

语法

rdev [-rsvh ] [-o offset ] [ image [value [ offset ] ] ]</p>

但是随著使用者想要设定的参数的不同,底下的方式也是一样:

rdev [ -o offset ] [ image [ root_device [ offset ] ] ]
swapdev [ -o offset ] [ image [ swap_device [ offset ] ] ]
ramsize [ -o offset ] [ image [ size [ offset ] ] ]
videomode [ -o offset ] [ image [ mode [ offset ] ] ]
rootflags [ -o offset ] [ image [ flags [ offset ] ] ]

参数

  • -r: 使得 rdev 作为 ramsize 运行。
  • -R: 使得 rdev 作为 rootflags 运行。
  • -v: 使得 rdev 作为 vidmode 运行。
  • -h: 提供帮助。

点击查看所有 Linux 教程 文章: https://codercto.com/courses/l/14.html

查看所有标签

Introduction to Computation and Programming Using Python

Introduction to Computation and Programming Using Python

John V. Guttag / The MIT Press / 2013-7 / USD 25.00

This book introduces students with little or no prior programming experience to the art of computational problem solving using Python and various Python libraries, including PyLab. It provides student......一起来看看 《Introduction to Computation and Programming Using Python》 这本书的介绍吧!

HTML 压缩/解压工具
HTML 压缩/解压工具

在线压缩/解压 HTML 代码

随机密码生成器
随机密码生成器

多种字符组合密码

URL 编码/解码
URL 编码/解码

URL 编码/解码