Re: Future devfs plans

From: CaT
Date: Mon Jul 26 2004 - 18:14:06 EST


On Mon, Jul 26, 2004 at 05:44:56PM -0400, Ed Sweetman wrote:
> Adrian Bunk wrote:
> > apt-get install alsa-base
> >
> >Check
> >
> > /var/lib/dpkg/info/alsa-base.postinst
> >
> >and (surprise, surprise!), you'll note the snddevices script is executed
> >when installing the alsa-base package.
>
> And someone who compiles the kernel for themselves and never needs the

Like I.

> alsa-base deb wouldn't have any ability to create the devices. MAKEDEV

alsa-base doesn't supply any modules:

# apt-file list alsa-base
alsa-base: etc/apm/event.d/alsa
alsa-base: etc/devfs/conf.d/alsa
alsa-base: etc/init.d/alsa
alsa-base: usr/share/alsa-base/alsa-base.conf
alsa-base: usr/share/alsa-base/modules-snippet.conf
alsa-base: usr/share/alsa-base/program-wrapper
alsa-base: usr/share/alsa-base/snddevices
alsa-base: usr/share/doc/alsa-base/FAQ
alsa-base: usr/share/doc/alsa-base/NEWS.Debian.gz
alsa-base: usr/share/doc/alsa-base/README
alsa-base: usr/share/doc/alsa-base/README.Debian
alsa-base: usr/share/doc/alsa-base/SOUNDCARDS.gz
alsa-base: usr/share/doc/alsa-base/WARNING
alsa-base: usr/share/doc/alsa-base/changelog.Debian.gz
alsa-base: usr/share/doc/alsa-base/copyright
alsa-base: usr/share/doc/alsa-base/examples/modules-1.0.conf
alsa-base: usr/share/linda/overrides/alsa-base
alsa-base: usr/share/lintian/overrides/alsa-base

And the init.d script doesn't do any loading of modules. It saves and
restores the mixer settings.

> is the proper place to create devices, not a separate snddevices
> script. This is still a debian bug.

Correct, for any version of debian where the supplied kernel is >= 2.6
I'd say.

--
Red herrings strewn hither and yon.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/