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

Andries Brouwer
2003-07-17T22:10:00Z

On Thu, Jul 17, 2003 at 02:55:07PM -0700, Andrew Morton wrote:
> Andries Brouwer <aebr@win.tue.nl> wrote:
> >
> > > The filesystem driver itself must convert from native rdev to linux 32:32.
> >
> > Look at the mknod utility.
> > The user types major,minor.
> > The system call uses dev_t.
> > This means that user space needs to be able to combine
> > major,minor into a dev_t.
>
> But mknod64() takes major/minor. Requiring a fileutils upgrade is OK.

[I think I already answered - please ask again if not.]

Premise: some filesystems or archives store 32 bits.
Conclusion: we must be able to handle that.
This is unrelated to the kernel, unrelated to system calls,
it is related to <sys/sysmacros.h>.