* [PATCH] fix /dev/cdroms on 2.5.38-bk current
@ 2002-09-25 6:02 jordan.breeding
0 siblings, 0 replies; only message in thread
From: jordan.breeding @ 2002-09-25 6:02 UTC (permalink / raw)
To: linux-kernel; +Cc: torvalds
[-- Attachment #1: Type: text/plain, Size: 197 bytes --]
Hello,
Currently 2.5.38-bk ends up creating all devfs based
cdrom entries in /dev/cdroms/cdroms, this should actually
only be /dev/cdroms. This patch fixes it for me at least.
Jordan Breeding
[-- Attachment #2: patch-cdrom-fix-2.5.38-1 --]
[-- Type: application/octet-stream, Size: 429 bytes --]
--- linux-2.5.38/fs/partitions/check.c 2002-09-23 21:55:43.000000000 -0500
+++ linux-2.5.38-bk/fs/partitions/check.c 2002-09-24 22:53:00.000000000 -0500
@@ -348,7 +348,7 @@
cdroms = devfs_mk_dir (NULL, "cdroms", NULL);
dev->number = devfs_alloc_unique_number(&cdrom_numspace);
- sprintf(vname, "cdroms/cdrom%d", dev->number);
+ sprintf(vname, "cdrom%d", dev->number);
if (dev->de) {
int pos;
devfs_handle_t slave;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-09-25 5:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-25 6:02 [PATCH] fix /dev/cdroms on 2.5.38-bk current jordan.breeding
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).