|
Re: [PATCH] multipath-tools/kpartx - loop support: msg#00082linux.kernel.device-mapper.devel
On Thu, Sep 29, 2005 at 02:52:16PM +0100, Alasdair G Kergon wrote: > On Thu, Sep 29, 2005 at 03:17:23PM +0200, Bastian Blank wrote: > > Use kernel definition of __kernel_old_dev_t. > > That only works if your glibc-kernheaders package defines it > and not all do, which is why it's there. It breaks the rule to not use the libc supplied linux headers anyway. On the otherside, the correct dev_t definition is supplied by linux/types.h for versions which have no selfcontaining linux/loop.h. > The story seems > to be that that package lags behind the kernel because people don't > update glibc immediately every time something is added to the kernel. The glibc headers are supposed to match the kernel it is built against. > So while it's OK to remove it for some distributions, you can't > remove it upstream. With the linux/types.h include it should work for the headers from linux >= 1.3.78, it this old enough? Without it seems to be okay for 2.6. Bastian -- Earth -- mother of the most beautiful women in the universe. -- Apollo, "Who Mourns for Adonais?" stardate 3468.1
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: [PATCH] multipath-tools/kpartx - fix endianes, undefined behaviour, cleanup: 00082, Bastian Blank |
|---|---|
| Next by Date: | Re: [PATCH] multipath-tools/kpartx - fix endianes, undefined behaviour, cleanup: 00082, Christophe Varoqui |
| Previous by Thread: | Re: [PATCH] multipath-tools/kpartx - loop supporti: 00082, Alasdair G Kergon |
| Next by Thread: | PATCH - multipath UUID: 00082, Patrick Caulfield |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |