Re: looking for verification about my understanding of hotplug

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jun 4, 2010 at 5:39 AM, Robert P. J. Day <rpjday@xxxxxxxxxxxxxx> wrote:
>
>  i've never had to mess with hotplug a lot, so these will be simple
> questions, i just want to verify that i'm seeing this the right way.

I think for one or two devices your way is fine. For testing you can
just have the script /sbin/hotplug run the commant echo $* and
printenv. The only place I've used /sbin/hotplug was in openwrt
kamikaze.  The way they do it is /sbin/hotplug is a dispatcher script
and it calls scripts in /etc/hotplug.d/*.  For your case I feel what
you are doing is simplier.

BTW lookig forward to the new Robert Love book I will be passing the
word on to people I know.

Hope that helps,
John

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux