From: Max Nikulin Date: Tue, 16 Dec 2025 14:17:13 +0000 (+0700) Subject: docs: admin: devices: /dev/sr for SCSI CD-ROM X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5188f6bd408f937d81c0c37eb59ddc1035cd912c;p=thirdparty%2Fkernel%2Flinux.git docs: admin: devices: /dev/sr for SCSI CD-ROM Don't claim that /dev/sr device names for SCSI CD-ROM drives are deprecated and don't recommend /dev/scd alternate names for them. /dev/scd device names for SCSI CD-ROM drives are not in use for more than a decade, see commit [1] that was a part of udev release 174. Earlier, related rules were volatile, sometimes /dev/scd were syminks to /dev/sr, sometimes vice versa. Recognizing of root=/dev/scd kernel command line argument was removed in kernel 2.5.45 [2]. In the docs /dev/scd became recommended names in 2.6.9 [3]. Mention of these names appeared much earlier in 1.3.22 [4]. [1] https://git.kernel.org/pub/scm/linux/hotplug/udev.git/commit/?id=d132be4d58 2011-08-12 14:05:19 +0200 Kay Sievers. rules: remove legacy rules for cdrom and usb printer [2] https://git.kernel.org/pub/scm/linux/kernel/git/history/history.git/commit/init?h=v2.5.45&id=51924607bd 2002-10-29 00:47:58 -0800 Alexander Viro. [PATCH] removal of root_dev_names[] [3] https://git.kernel.org/pub/scm/linux/kernel/git/history/history.git/diff/Documentation/devices.txt?h=v2.6.9-rc4&id=a74e11ffeda 2004-03-16 15:09:38 -0800 Andrew Morton: [PATCH] devices.txt: typos and removal of dead devices [4] https://git.kernel.org/pub/scm/linux/kernel/git/history/history.git/tree/Documentation/devices.txt?h=v2.6.9-rc4&id=8f0ec1f9369 1995-09-01 Linus Torvalds: Import 1.3.22 Signed-off-by: Max Nikulin Reviewed-by: Martin K. Petersen Signed-off-by: Jonathan Corbet Message-ID: --- diff --git a/Documentation/admin-guide/devices.rst b/Documentation/admin-guide/devices.rst index e3776d77374b7..0dc8c5b98e300 100644 --- a/Documentation/admin-guide/devices.rst +++ b/Documentation/admin-guide/devices.rst @@ -97,9 +97,12 @@ It is recommended that these links exist on all systems: /dev/bttv0 video0 symbolic Backward compatibility /dev/radio radio0 symbolic Backward compatibility /dev/i2o* /dev/i2o/* symbolic Backward compatibility -/dev/scd? sr? hard Alternate SCSI CD-ROM name =============== =============== =============== =============================== +Suggested earlier ``/dev/scd?`` alternative names for ``/dev/sr?`` +CD-ROM and other optical drives (using SCSI commands) were removed +in ``udev`` version 174 that was released in 2011. + Locally defined links +++++++++++++++++++++ diff --git a/Documentation/admin-guide/devices.txt b/Documentation/admin-guide/devices.txt index 94c98be1329a4..c480f230aa4a2 100644 --- a/Documentation/admin-guide/devices.txt +++ b/Documentation/admin-guide/devices.txt @@ -389,11 +389,11 @@ ... 11 block SCSI CD-ROM devices - 0 = /dev/scd0 First SCSI CD-ROM - 1 = /dev/scd1 Second SCSI CD-ROM + 0 = /dev/sr0 First SCSI CD-ROM + 1 = /dev/sr1 Second SCSI CD-ROM ... - The prefix /dev/sr (instead of /dev/scd) has been deprecated. + In the past the prefix /dev/scd (instead of /dev/sr) was used and even recommended. 12 char QIC-02 tape 2 = /dev/ntpqic11 QIC-11, no rewind-on-close