[lkml]   [2003]   [May]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
SubjectRe: lilo and 2.5.69?
On Sun, May 11, 2003 at 03:09:45PM +0200, Gregoire Favre wrote:
> Is there something special to do with this new kernel?

You need to fix lilo to not assume the names listet in /proc/partitions are
actual device files. In 2.5.69 there's a bug that it prints truncated devfs
names instead of traditional device names as it should, but relying on the
names to mean anything is broken - that kernel can't enforce the device names

The following patch that is in Linus BK tree should get it working for you
again for now..

--- 1.108/fs/partitions/check.c Tue Apr 29 17:42:50 2003
+++ edited/fs/partitions/check.c Fri May 2 09:41:04 2003
@@ -96,19 +96,6 @@

char *disk_name(struct gendisk *hd, int part, char *buf)
- if (hd->devfs_name[0] != '\0') {
- if (part)
- snprintf(buf, BDEVNAME_SIZE, "%s/part%d",
- hd->devfs_name, part);
- else if (hd->minors != 1)
- snprintf(buf, BDEVNAME_SIZE, "%s/disc", hd->devfs_name);
- else
- snprintf(buf, BDEVNAME_SIZE, "%s", hd->devfs_name);
- return buf;
- }
if (!part)
snprintf(buf, BDEVNAME_SIZE, "%s", hd->disk_name);
else if (isdigit(hd->disk_name[strlen(hd->disk_name)-1]))
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at
 \ /
  Last update: 2005-03-22 13:35    [W:0.051 / U:0.968 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site