Linux rdev command
-- Learning is not just about technology, but also about dreams!
- Home
- HTML
- JavaScript
- CSS
- Vue
- React
- Python3
- Java
- C
- C++
- C#
- AI
- Go
- SQL
- Linux
- VS Code
- Bootstrap
- Git
- Local Bookmarks
Linux Tutorial
Linux Tutorial Linux Introduction Linux Installation Linux Cloud Server Install Linux with WSL Linux System Boot Process Linux System Directory Structure Linux Password Recovery Solution Linux Remote Login Linux File Basic Attributes Linux File and Directory Management Linux User and User Group Management Linux Disk Management Linux vi/vim Linux yum command Linux apt command
Shell Tutorial
Shell Tutorial Shell Variables Shell Passing Arguments Shell Arrays Shell Operators Shell echo command Shell printf command Shell test command Shell Flow Control Shell Functions Shell Input/Output Redirection Shell File Inclusion
Linux Reference Manual
Linux Command Manual Nginx Installation and Configuration MySQL Installation and Configuration Linux Quiz
Nginx Installation and Configuration
Deep Dive
Scripts
Network Design and Development
Software
Programming
Computer Science
Programming Languages
Network Services
Scripting Languages
Development Tools
Web Service
Linux rdev Command
The Linux rdev command can be used to query/set the root device, RAM disk size, or video mode of a kernel image file.
The rdev command without any arguments will output the /etc/mtab file line for the current root file system. The ramsize, vidmode, and rootflags without any arguments will display help information.
Syntax
rdev [ image [value ] ]
However, depending on the parameters the user wants to set, the following methods are also the same:
rdev [ image [ root_device ] ]
swapdev [ image [ swap_device ] ]
ramsize [ image [ size ] ]
videomode [ image [ mode ] ]
rootflags [ image [ flags ] ]
Parameters:
-r: Makes rdev run as ramsize.-R: Makes rdev run as rootflags.-v: Makes rdev run as vidmode.-h: Provides help.
YouTip