Messages in this thread | | | From | "Miquel van Smoorenburg" <> | Subject | Re: /dev/root: which approach ? [PATCH] | Date | Wed, 10 Mar 2004 20:52:28 +0000 (UTC) |
| |
In article <404F77F3.9070106@kolumbus.fi>, Mika Penttilä <mika.penttila@kolumbus.fi> 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.
Mike.
- 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/
| |