Bug#353893: [Pkg-alsa-devel] Bug#353893: /lib/alsa-utils/udev
Marco d'Itri
md at Linux.IT
Tue Feb 21 19:53:04 UTC 2006
On Feb 21, Thomas Hood <jdthood at yahoo.co.uk> wrote:
> OK. Are you sure that "&" is enough, or do we need to use
> start-stop-daemon --background?
It's enough.
> > since version 0.076-1 the correct way to check for the presence of udev
> > has been "test -e /dev/.udev".
> > You can remove the check for /dev/.udev.tdb which has not been useful
> > since version 0.046-1.
>
>
> So the complete test would be
>
> test -d /dev/.udevdb || test -e /dev/.udev
>
> ?
Yes, if you want to support versions << 0.076-1.
> When I used to switch back and forth between 2.4 and 2.6 kernels I found
> that /dev/.udev.tdb or /dev/.udevdb was sometimes present even though the
> kernel was a 2.4 one. The kernel version number check was a useful added
> precaution.
This was probably a bug of some very old package and should NEVER EVER
happen (because it may cause udevd to delete devices from your static
/dev).
The udev init script even spits a warning for this, so please remove the
extra check. Every other package only checks for the directory anyway.
--
ciao,
Marco
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-alsa-devel/attachments/20060221/c0d8f2fc/attachment.pgp
More information about the Pkg-alsa-devel
mailing list