Re: [PATCH] print_dev_t for 2.6.0-test1-mm

From: Joel Becker (
Date: Thu Jul 17 2003 - 04:15:15 EST

On Thu, Jul 17, 2003 at 10:47:08AM +0200, Roman Zippel wrote:
> It's not just NFS2, with NFS3 and later it also depends on how many and
> which bits the server keeps. They usually use the standard major/minor/
> makedev macros, so you only get back what the platform supports.
> Splitting dev_t in major/minor numbers can be lots of fun...

        Well, exporting devices over NFS is always tricky, because if
the server isn't an identical OS, you can't even trust the numbers. As
you point out, you get the platform's idea of a device number, and that
doesn't map to your local OS.
        It is no different than today. You have to make sure that the
server's filesystem stores device numbers valid for the client if the
client wants to use those device nodes.



"In the room the women come and go Talking of Michaelangelo."

Joel Becker Senior Member of Technical Staff Oracle Corporation E-mail: Phone: (650) 506-8127 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to More majordomo info at Please read the FAQ at

This archive was generated by hypermail 2b29 : Wed Jul 23 2003 - 22:00:28 EST