Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Documentation/admin-guide: README & svga: remove use of "rdev"

"rdev" is considered antiquated, ancient, archaic, obsolete, deprecated
{choose any or all}.

Remove use of "rdev" and "vidmode" (a symlink to rdev) in
admin-guide/README.rst and admin-guide/svga.rst.

"rdev" was removed from util-linux in 2010:
https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git/commit/?id=a3e40c14651fccf18e7954f081e601389baefe3f

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Acked-by: Martin Mares <mj@ucw.cz>
Cc: Karel Zak <kzak@redhat.com>
Cc: Paul Gortmaker <paul.gortmaker@windriver.com>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: linux-block@vger.kernel.org
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: Martin Mares <mj@ucw.cz>
Cc: linux-video@atrey.karlin.mff.cuni.cz
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: linux-doc@vger.kernel.org
Link: https://lore.kernel.org/r/20200918015640.8439-2-rdunlap@infradead.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net>

authored by

Randy Dunlap and committed by
Jonathan Corbet
fc67d5bc 497de97e

+7 -6
+3 -3
Documentation/admin-guide/README.rst
··· 322 322 reboot, and enjoy! 323 323 324 324 If you ever need to change the default root device, video mode, 325 - ramdisk size, etc. in the kernel image, use the ``rdev`` program (or 326 - alternatively the LILO boot options when appropriate). No need to 327 - recompile the kernel to change these parameters. 325 + etc. in the kernel image, use your bootloader's boot options 326 + where appropriate. No need to recompile the kernel to change 327 + these parameters. 328 328 329 329 - Reboot with the new kernel and enjoy. 330 330
+4 -3
Documentation/admin-guide/svga.rst
··· 12 12 This small document describes the "Video Mode Selection" feature which 13 13 allows the use of various special video modes supported by the video BIOS. Due 14 14 to usage of the BIOS, the selection is limited to boot time (before the 15 - kernel decompression starts) and works only on 80X86 machines. 15 + kernel decompression starts) and works only on 80X86 machines that are 16 + booted through BIOS firmware (as opposed to through UEFI, kexec, etc.). 16 17 17 18 .. note:: 18 19 ··· 24 23 25 24 The video mode to be used is selected by a kernel parameter which can be 26 25 specified in the kernel Makefile (the SVGA_MODE=... line) or by the "vga=..." 27 - option of LILO (or some other boot loader you use) or by the "vidmode" utility 26 + option of LILO (or some other boot loader you use) or by the "xrandr" utility 28 27 (present in standard Linux utility packages). You can use the following values 29 28 of this parameter:: 30 29 ··· 42 41 better to use absolute mode numbers instead. 43 42 44 43 0x.... - Hexadecimal video mode ID (also displayed on the menu, see below 45 - for exact meaning of the ID). Warning: rdev and LILO don't support 44 + for exact meaning of the ID). Warning: LILO doesn't support 46 45 hexadecimal numbers -- you have to convert it to decimal manually. 47 46 48 47 Menu