Re: [PATCH] new system call mknod64

From: Roman Zippel (zippel@linux-m68k.org)
Date: Mon Apr 21 2003 - 06:59:02 EST


Hi,

On Sun, 20 Apr 2003, Linus Torvalds wrote:

> The kernel should get major and minor numbers. It's a sad mistake that
> UNIX uses "dev_t" in the first place, and clearly the glibc interface to
> user mode will have to be that historical braindamage. But we should
> realize that the _right_ interface is keeping the <major, minor> tuple
> explicit, and any new system call interfaces should be of that type.

May I ask what advantage it has to split that number?
Everywhere it's just a simple number, only when we present that number to
the user, we create some kind of illusion that this split has any meaning.

bye, Roman

-
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 23 2003 - 22:00:28 EST