Re: losetup and dev_t

Steven N. Hirsch (shirsch@ibm.net)
Tue, 27 Jan 1998 07:11:06 -0500 (EST)


On Tue, 27 Jan 1998 Andries.Brouwer@cwi.nl wrote:

> People complained that losetup dumps core when compiled with glibc,
> and indeed it does. I put a new mount-2.7h.tar.gz at ftp.win.tue.nl.
>
> The reason was that a struct loop_info as returned by the kernel
> has a different size from what one gets when it is compiled under glibc:
> the kernel makes dev_t an unsigned short, while glibc makes it long long.

Another victim. I battled with this divergence while getting the knfsd
utilities working on my Alpha <g>.

Steve