Easy Tutorial
❮ Linux Comm Chmod Linux Comm Ftpcount ❯

Linux rdev Command

Linux Command Manual

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 /etc/mtab file line of the current root file system. The ramsize, vidmode, and rootflags commands without any parameters will display help information.

Syntax

rdev [-rsvh] [-o offset] [image [value [offset]]]

However, depending on the parameter the user wants to set, the following methods are also equivalent:

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:

Linux Command Manual

❮ Linux Comm Chmod Linux Comm Ftpcount ❯