Re: dev_t inconsistency

David Woodhouse (Dave@imladris.demon.co.uk)
Thu, 12 Mar 1998 03:25:17 +0000


reimer@doe.carleton.ca said:
> I seem to be running into a problem where dev_t is defined in the
> kernel in asm/posix_types.h as a unsigned short, and dev_t in the
> modified mount et al. programs is defined in gnu/types.h as unsigned
> long long int.

Use __kernel_dev_t instead of dev_t where it's being passed to the kernel.

> are the two dev_ts supposed to be the same...

Eventually, yes. No-one's got round to implementing it yet, though. You'll
find exactly the same with uid_t, gid_t, mode_t and probably others, and it's
unlikely to change before 2.3

---- ---- ----
David Woodhouse, Robinson College, CB3 9AN, England. (+44) 0976 658355
Dave@imladris.demon.co.uk http://dwmw2.robinson.cam.ac.uk
finger pgp@dwmw2.robinson.cam.ac.uk for PGP key.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu