Re: [RFC PATCH] block: Add new generic block device naming interface

From: Tejun Heo
Date: Mon Apr 29 2013 - 12:06:46 EST


On Mon, Apr 29, 2013 at 04:56:38PM +0200, Hannes Reinecke wrote:
> grub requires you to re-implement _every_ device naming scheme which
> is present in the kernel.

Are you saying that it's just a limitation in grub?

> And no, you cannot use the kernel itself as grub is run _prior_ to
> the kernel.

I don't get this part. While booting, it's all about the number BIOS
assigned to disks. After boot, we might as well just do mknod
/dev/grub-device-N if grub is picky about the names it accept. What
am I missing here?

> As there is no common naming scheme for block devices each and
> every block device driver has implemented it own.
> So grub need to re-implement each and every device naming
> for these drivers.

Sure, I heard that a couple times but nobody really explained why
that's the case. Is it something fundamental or is it just an
implementation artifact? Can't it be fixed from grub side? If not,

> The approach from Stephen would solve that.

At the cost of losing per-driver semi-stable enumeration. I don't
think we want to lose that in favor of working around an
implementation detail in grub.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at