Uniform CD-ROM layer and Sega Dreamcast GD-ROM driver
The shared core that every Linux CD, DVD, and Blu-ray drive plugs into for media handling, tray control, and the standard ioctl interface, alongside a separate driver for the GD-ROM optical drive built into Sega's Dreamcast game console from 1998. The generic optical-disc core remains in active use; the GD-ROM piece serves only Dreamcast retro-computing.
recommendation
Worth keeping but document its niche because the directory mixes two very different things. The shared cdrom.c file is the common Linux optical-disc layer that every SCSI/ATAPI CD and DVD drive still relies on, including drives sold new in 2025. Bundled alongside it is gdrom.c, the driver for the Sega Dreamcast's proprietary GD-ROM, which is firmly legacy hardware but still receives occasional upstream fixes (a 2026 patch was posted), so removal is not on the table.
repository signals
sources
- lore.kernel.org
`gdrom.c` still sees non-trivial upstream fixes in 2026, so the directory is not abandoned.
- docs.kernel.org
`cdrom.c` is the kernel's uniform CD-ROM layer, i.e. shared infrastructure for Linux optical-drive support rather than a dead single-device stub.
- en.wikipedia.org
GD-ROM is Dreamcast-era proprietary optical media tied to legacy Sega hardware, indicating the Sega-specific part is niche/obsolete even though generic optical support remains relevant.
codex reasoning notes (technical)
Local shell inspection showed `drivers/cdrom` contains shared `cdrom.c` plus the Sega Dreamcast `gdrom.c`, and `drivers/scsi/sr.c` still calls `register_cdrom`/`cdrom_ioctl`, so this directory is still on a live code path. `lore_file_timeline` on `drivers/cdrom/gdrom.c` returned fresh 2026 patch traffic, which argues against deprecation/removal. I attempted removal-talk discovery with `lore_regex`, `lore_path_mentions`, and `lei`, but the lore regex/path queries timed out and local `lei` could not start under sandbox constraints; I found no positive removal evidence. `docs.kernel.org` URL is canonical recall for the subsystem documentation; the Wikipedia GD-ROM URL was obtained via web search. Net: keep the directory, but annotate that the Sega-specific hardware is legacy/niche while the generic optical-disc core still supports hardware that remains sold and deployed.