K 10 svn:author V 4 grog K 8 svn:date V 27 2001-04-08T02:18:14.000000Z K 7 svn:log V 985 struct drive: Workaround size mismatch in struct drive on alpha platform only. This struct is shared between kernel and userland and contains a dev_t, which now refers to a completely different structure in userland and kernel: int the kernel, userland dev_t is called udev_t, and dev_t is struct specinfo *. In practical terms, kernel dev_t is a pointer and userland dev_t is an int, which on the alpha are different sizes. As stated, this is a workaround. The correct fix would be in two parts: 1. Don't define structures in the kernel with the same name and a different content as a userland structure. This is a kernel-wide issue: kernel dev_t needs another name. 2. Don't export unnecessary kernel structures to userland. This can be done within Vinum. It is currently on the tuit queue. Sleuth work by: Normand Leclerc Tested by: Normand Leclerc Blanket approved by: jkh END