Re: [PATCH] new system call mknod64

Roman Zippel (zippel@linux-m68k.org)
Tue, 22 Apr 2003 01:49:24 +0200 (CEST)


Hi,

On Mon, 21 Apr 2003, Linus Torvalds wrote:

> > Not anymore for blockdevices. And now that Al's back not anymore soon
> > for charater devices, too :)
>
> Actually, we still do it for both block _and_ character devices.
>
> Look at "nfs*xdr.c" to see what's up.

This is actually a good example to show how problematic the major/minor
split is. It depends very much on the nfs server which bits you actually
get back and it requires some guessing from the client side which bits it
can use. A linux-2.2 server will happilly truncate that value to 16 bit,
BSD will give you a 8:24 value back.
It's very unlikely that you can use a 64bit dev_t reliably with nfs in the
foreseeable future.

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/