English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

Linux rdev command

Linux Command大全

The Linux rdev command can be used to query/Set the root device, RAM disk size, or video mode of the kernel image file.

The rdev command without any parameters will output the current root filesystem's /etc/mtab file line. ramsize, vidmode, and rootflags without any parameters will display help information.

Syntax

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

However, as the parameters to be set by the user vary, the following method is the same:

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 ] ] ]

Parameters

  • -r: Run rdev as ramsize.
  • -R: Run rdev as rootflags.
  • -v: Run rdev as vidmode.
  • -h: Provide Help.

Linux Command大全