* [PATCH] fix cdroms with devfs
@ 2002-10-04 2:58 Jordan Breeding
0 siblings, 0 replies; only message in thread
From: Jordan Breeding @ 2002-10-04 2:58 UTC (permalink / raw)
To: torvalds, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 176 bytes --]
Hello,
This patch fixes the case where devfs in 2.5.x currently makes a
/dev/cdroms/cdroms directory instead of a /dev/cdroms directory like it
used to. Thanks.
Jordan
[-- Attachment #2: patch-cdrom-fix-2.5.38-1 --]
[-- Type: text/plain, 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-10-04 2:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-04 2:58 [PATCH] fix cdroms with devfs Jordan Breeding
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.