Re: 2.5.68-bk1 renames IDE disks, /dev/hda is directory

From: Christoph Hellwig (hch@lst.de)
Date: Thu Apr 24 2003 - 12:04:31 EST


On Thu, Apr 24, 2003 at 01:01:32PM -0400, Pavel Roskin wrote:
> Somebody please apply this patch:
>
> http://hypermail.idiosynkrasia.net/linux-kernel/latestweek/0150.html
>
> It's still not in 2.5.68-bk5. It's a major headache for everybody who
> tries to use devfs with the current kernel.

Sorry, I sent this to Linus two times but he hasn't applied it yet :P

Linus, could you please apply this patch so all thos poor devfs
users get their disks back?

--- 1.1/fs/partitions/devfs.c Sat Apr 19 20:57:36 2003
+++ edited/fs/partitions/devfs.c Mon Apr 21 17:20:54 2003
@@ -81,10 +81,6 @@
 {
         char dirname[64], symlink[16];
 
- if (disk->devfs_name[0] != '\0')
- sprintf(disk->devfs_name, "%s/disc%d", disk->disk_name,
- disk->first_minor >> disk->minor_shift);
-
         devfs_mk_dir(disk->devfs_name);
         devfs_mk_bdev(MKDEV(disk->major, disk->first_minor),
                         S_IFBLK|S_IRUSR|S_IWUSR,
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Apr 30 2003 - 22:00:16 EST