[LWN Logo]
[LWN.net]
From:	 Greg KH <greg@kroah.com>
To:	 linux-hotplug-devel@lists.sourceforge.net,
	 linux-kernel@vger.kernel.org
Subject: [ANNOUNCE] Diet /sbin/hotplug package released
Date:	 Wed, 29 Aug 2001 12:04:40 -0700

I'd like to announce the initial version of the Diet /sbin/hotplug
package.  It can be found at:
	http://prdownloads.sourceforge.net/linux-hotplug/diethotplug-0.1.tar.gz

Q: What is it?
A: It's a replacement for the current linux-hotplug script package.  It
   is written in C and if compiled with dietLibc[0], can produce a very
   small program.

   For instance, on my machine the /lib/modules/2.4.9-ac3/modules.usbmap
   is 59221 bytes.  The current linux-hotplug system needs this file,
   plus all of the linux-hotplug scripts and bash and awk to work.
   diethotplug compiles to about 20K on my machine and does not need
   modules.usbmap or any other helper programs to work.

Q: Will this replace the current linux-hotplug script package?
A: NO!  The current linux-hotplug scripts work quite well in a general
   purpose machine.  They do not need to be modified for each kernel
   version, and allow users to add their own scripts quite easily.
   
   The diethotplug program is only useful for systems that have memory
   constraints, do not have awk or bash, and do not change kernel
   versions (as the modules.pcimap and modules.usbmap are compiled into
   the program.)  Embedded systems and the upcoming 2.5 initrd method of
   kernel booting are good applications for this program.

Currently usb module loading works (tested on my limited range of
devices.)  More testing on other usb devices is most welcome.  PCI
loading of modules is next on the list of things to do.

thanks,

greg k-h

[0] http://www.fefe.de/dietlibc/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/