* [ANNOUNCE] udev 133 release
@ 2008-11-18 2:56 Kay Sievers
2008-11-20 21:23 ` Gabor Z. Papp
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Kay Sievers @ 2008-11-18 2:56 UTC (permalink / raw)
To: linux-hotplug
Here comes a new udev version. Thanks to all who have contributed to
this release.
The tarball can be found here:
ftp://ftp.kernel.org/pub/linux/utils/kernel/hotplug/
The development repository can be found here:
http://www.kernel.org/git/?p=linux/hotplug/udev.git;a=summary
The ChangeLog can be found here:
http://www.kernel.org/git/?p=linux/hotplug/udev.git;a=blob;hb=HEAD;f=ChangeLog
udev 133
====
Bugfix for kernels using the SYSFS_DEPRECATED* option and finding parent
block devices in some cases. No common distro uses this option anymore,
and we do not get enough testing for this and recent udev versions. If
this option is not needed to run some old distro with a new kernel,
it should be disabled in the kernel config.
Bugfix for the $links substitution variable, which may crash if no links
are created. This should not happen in usual setups because we always
create /dev/{block,char}/ links.
The strings of the parsed rules, which are kept in memory, no longer
contain duplicate entries, or duplicate tails of strings. This, and the
new rules parsing/matching code reduces the total in-memory size of
a huge distro rule sets to 0.08 MB, compared to the 1.2MB of udev
version 130.
The export of DEVTYPE=disk/partition got removed from the default
rules. This value is available from the kernel. The pnp shell script
modprobe hack is removed from the default rules. ACPI devices have _proper_
modalias support and take care of the same functionality.
Installations which support old kernels, but install current default
udev rules may want to add that to the compat rules file.
Libvolume_id now always probes for all known filesystems, and does not
stop at the first match. Some filesystems are marked as "exclusive probe",
and if any other filesytem type matches at the same time, libvolume_id
will, by default, not return any probing result. This is intended to prevent
mis-detection with conflicting left-over signatures found from earlier
file system formats. That way, we no longer depend on the probe-order
in case of multiple competing signatures. In some setups the kernel allows
to mount a volume with just the old filesystem signature still in place.
This may damage the new filesystem and cause data-loss, just by mounting
it. Because volume_id can not decide which one the correct signature is,
the wrong signatures need to be removed manually from the volume, or the
volume needs to be reformatted, to enable filesystem detection and possible
auto-mounting.
udev 132
====
Fix segfault if compiled without optimization and dbg() does not get
compiled out and uses variables which are not available.
udev 131
====
Bugfixes. (And maybe new bugs. :))
The rule matching engine got converted from a rule list to a token
array which reduced the in-memory rules representation of a full
featured distros with thousands of udev rules from 1.2MB to 0.12 MB.
Limits like 5 ENV and ATTR matches, and one single instance for most
other keys per rule are gone.
The NAME assignment is no longer special cased. If later rules assign
a NAME value again, the former value will be overwritten. As usual
for most other keys, the NAME value can be protected by doing a final
assignment with NAME:="<value>".
All udev code now uses libudev, which is also exported. The library
is still under development, marked as experimental, and its interface
may change as long as the DeviceKit integration is not finished.
Many thanks to Alan Jenkins for his continuous help, and finding and
optimizing some of the computing expensive parts.
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [ANNOUNCE] udev 133 release
2008-11-18 2:56 [ANNOUNCE] udev 133 release Kay Sievers
@ 2008-11-20 21:23 ` Gabor Z. Papp
2008-11-20 22:08 ` Gabor Z. Papp
2008-11-21 3:20 ` Kay Sievers
2 siblings, 0 replies; 4+ messages in thread
From: Gabor Z. Papp @ 2008-11-20 21:23 UTC (permalink / raw)
To: linux-hotplug
gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DSYSCONFDIR=\""/etc"\" -DUDEV_PREFIX=\"""\" -D_LIBUDEV_COMPILATION -g -O2 -MT libudev-device-db-write.o -MD -MP -MF .deps/libudev-device-db-write.Tpo -c -o libudev-device-db-write.o `test -f 'lib/libudev-device-db-write.c' || echo './'`lib/libudev-device-db-write.c
In file included from ./udev.h:25,
from lib/libudev-device-db-write.c:27:
./udev-sysdeps.h: In function 'inotify_init':
./udev-sysdeps.h:36: error: 'errno' undeclared (first use in this function)
./udev-sysdeps.h:36: error: (Each undeclared identifier is reported only once
./udev-sysdeps.h:36: error: for each function it appears in.)
./udev-sysdeps.h:36: error: 'ENOSYS' undeclared (first use in this function)
make[3]: *** [libudev-device-db-write.o] Error 1
make[3]: Leaving directory `/home/gzp/src/udev-133/udev'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/gzp/src/udev-133/udev'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/gzp/src/udev-133'
make: *** [all] Error 2
[kernel]
Linux gzp1 2.6.27.5-gzp1 #1 SMP Tue Nov 11 13:14:36 CET 2008 i686 GNU/Linux
[glibc]
GNU C Library stable release version 2.3.6, by Roland McGrath et al.
Compiled by GNU CC version 4.1.2.
Compiled on a Linux 2.4.34-gzp1 system on 2007-04-04.
[gcc]
gcc (GCC) 4.2.4
[binutils]
GNU ld (Linux/GNU Binutils) 2.19.50.0.1.20081007
[autoconf]
autoconf (GNU Autoconf) 2.63
[automake]
automake (GNU automake) 1.10.1
[libtool]
ltmain.sh (GNU libtool) 1.5.26 (1.1220.2.492 2008/01/30 06:40:56)
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [ANNOUNCE] udev 133 release
2008-11-18 2:56 [ANNOUNCE] udev 133 release Kay Sievers
2008-11-20 21:23 ` Gabor Z. Papp
@ 2008-11-20 22:08 ` Gabor Z. Papp
2008-11-21 3:20 ` Kay Sievers
2 siblings, 0 replies; 4+ messages in thread
From: Gabor Z. Papp @ 2008-11-20 22:08 UTC (permalink / raw)
To: linux-hotplug
* "Gabor Z. Papp" <gzp@papp.hu>:
| ./udev-sysdeps.h: In function 'inotify_init':
| ./udev-sysdeps.h:36: error: 'errno' undeclared (first use in this function)
| ./udev-sysdeps.h:36: error: (Each undeclared identifier is reported only once
| ./udev-sysdeps.h:36: error: for each function it appears in.)
| ./udev-sysdeps.h:36: error: 'ENOSYS' undeclared (first use in this function)
Is this a good fix in udev-sysdeps.h?
#ifndef HAVE_INOTIFY
static inline int inotify_init(void)
{
#include <errno.h>
errno = ENOSYS;
return -1;
}
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [ANNOUNCE] udev 133 release
2008-11-18 2:56 [ANNOUNCE] udev 133 release Kay Sievers
2008-11-20 21:23 ` Gabor Z. Papp
2008-11-20 22:08 ` Gabor Z. Papp
@ 2008-11-21 3:20 ` Kay Sievers
2 siblings, 0 replies; 4+ messages in thread
From: Kay Sievers @ 2008-11-21 3:20 UTC (permalink / raw)
To: linux-hotplug
On Thu, Nov 20, 2008 at 23:08, Gabor Z. Papp <gzp@papp.hu> wrote:
> * "Gabor Z. Papp" <gzp@papp.hu>:
>
> | ./udev-sysdeps.h: In function 'inotify_init':
> | ./udev-sysdeps.h:36: error: 'errno' undeclared (first use in this function)
> | ./udev-sysdeps.h:36: error: (Each undeclared identifier is reported only once
> | ./udev-sysdeps.h:36: error: for each function it appears in.)
> | ./udev-sysdeps.h:36: error: 'ENOSYS' undeclared (first use in this function)
>
> Is this a good fix in udev-sysdeps.h?
>
> #ifndef HAVE_INOTIFY
> static inline int inotify_init(void)
> {
> #include <errno.h>
>
> errno = ENOSYS;
> return -1;
> }
Applied.
Thanks,
Kay
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-11-21 3:20 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-18 2:56 [ANNOUNCE] udev 133 release Kay Sievers
2008-11-20 21:23 ` Gabor Z. Papp
2008-11-20 22:08 ` Gabor Z. Papp
2008-11-21 3:20 ` Kay Sievers
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).