Re: Persistent module storage [was Linux 2.4 Status / TODO page]

Petko Manolov
2000-11-07T12:52:48Z

Alan Cox wrote:
>
> > In the NIC example, I might well want the DHCP client to run whenever I
> > activate the card. Bringing the NIC up with the old configuration - which, with
> > dynamic IP addresses, could now include someone else's IP address! - is worse
> > than useless.
>
> You'll notice the pcmcia subsystem already handles this, and keeps data in user
> space although it doesnt support saving it back. And it all works
>
> In your case it would be something like
>
> eth0 pegasus
> nopersist eth0
> post-install eth0 /usr/local/sbin/my-dhcp-stuff

Oops! Don't try to do this with pegasus.c older than 0.4.13.
I have set the ethernet address at open time, which breaks
dhcpd. I fixed that in test-10, but it's release took a long
time.

Sorry if the note doesn't make sense, i didn't follow the
thread from the beginning.

Petkan