Re: /dev/root: which approach ? [PATCH]

From: H. Peter Anvin
Date: Fri Mar 12 2004 - 03:11:51 EST


Followup to: <c2nv6c$j5$2@xxxxxxxxxxxxxxx>
By author: "Miquel van Smoorenburg" <miquels@xxxxxxxxxx>
In newsgroup: linux.dev.kernel
>
> In article <404F77F3.9070106@xxxxxxxxxxx>,
> Mika Penttilä <mika.penttila@xxxxxxxxxxx> wrote:
> >
> >>My question to the FS hackers: which one is the preferred approach?
> >>
> >>dev_root_alias.patch
> >>
> >>+ /* See if device is the /dev/root alias. */
> >>+ if (dev == MKDEV(4, 1)) {
> >
> >what is this 4,1, a tty???
>
> If it was a character device, yes. But it's a block device, and
> major 4 isn't used yet. I just made it up, a major would need to
> be allocated by LANANA ofcourse.
>

Please contact John Cagle <device@xxxxxxxxxx>.

-hpa
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/