BROWN Nick (Nick.BROWN@coe.fr)
Thu, 8 Apr 1999 15:20:48 +0200
Yessssss that works, brilliant, thank you.
I also have modutils 2.1.121 (Debian 2.1). But I don't see any
documentation for the -k switch in the man pages...
---------------------------------------------------------------
|\ | o _ |/ Life's like a jigsaw
| \| | |_ |\ You get the straight bits
But there's something missing in the middle
Nick Brown, Strasbourg, France (Nick(dot)Brown(at)coe(dot)fr)
---------------------------------------------------------------
> -----Original Message-----
> From: BOSZORMENYI Zoltan [SMTP:zboszor@mol.hu]
> Sent: 8 April 1999 14:54
> To: BROWN Nick; linux-parport@torque.net
> Subject: Re: [PARPORT] Autoloading protocol modules ?
>
> At 10:13 AM 4/8/99 +0100, BROWN Nick wrote:
> >Currently I load paride and epat at boot time, and have pd loaded
> >automagically by kerneld when I mount my Plugger HD. But it would be
> really
> >cool to have paride and epat loaded by kerneld too. I added a dependency
> >(pd requires epat) to modules.dep by hand and it worked, but this file is
> >zapped by "depmod -a" at each boot and I'd rather not remove that command
> >and then have to maintain all the module dependencies by hand.
> >
> >The man page for depmod seems to suggest that you can add a single
> >dependency with "depmod module dependson-1 dependson-2", but it isn't
> clear.
> >Or maybe there is a magic local file which "depmod -a" will integrate
> into
> >modules.dep along with the info it gets from the .o files ?
>
> Add this line to /etc/conf.modules:
>
> post-install paride modprobe -k epat
>
> When you access pd (either by manually insmoding or autoloading, e.g.
> by "mount /mnt/blah /dev/pda1") it will load paride first, and the above
> line tells modprobe to load the epat module, too. I use similar rules
> successfully with modutils-2.1.121.
>
> Regards,
> Zoltan
> --
> Similarities between Unix programmers and witches:
> 1. They deal with daemons and zombies.
> 2. They use hex.
-- To unsubscribe, send mail to: linux-parport-request@torque.net --
-- with the single word "unsubscribe" in the body of the message. --
This archive was generated by hypermail 2.0b3 on Thu 08 Apr 1999 - 09:23:40 EDT