linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* udev database is incompatible (klibc libc and mode_t)
@ 2004-02-11 22:02 Kay Sievers
  2004-02-11 22:08 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Kay Sievers @ 2004-02-11 22:02 UTC (permalink / raw)
  To: linux-hotplug

Hi,
it seems that klibc's mod_t is only unsigned short and libc
is unsigned int. So our db format is incompatible between udev's
compiled with different c-lib's.

What is the right fix for this?

I found it cause my db was created with libc-udev and klibc-udev
was unable to insert records in the database.


thanks,
Kay


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id\x1356&alloc_id438&op=click
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: udev database is incompatible (klibc libc and mode_t)
  2004-02-11 22:02 udev database is incompatible (klibc libc and mode_t) Kay Sievers
@ 2004-02-11 22:08 ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2004-02-11 22:08 UTC (permalink / raw)
  To: linux-hotplug

On Wed, Feb 11, 2004 at 11:02:17PM +0100, Kay Sievers wrote:
> Hi,
> it seems that klibc's mod_t is only unsigned short and libc
> is unsigned int. So our db format is incompatible between udev's
> compiled with different c-lib's.
> 
> What is the right fix for this?

Ick.  We might as well store this as a unsigned int then to make sure we
work with both libcs.

thanks,

greg k-h


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id\x1356&alloc_id438&op=click
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-02-11 22:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-11 22:02 udev database is incompatible (klibc libc and mode_t) Kay Sievers
2004-02-11 22:08 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).