More LiveCD space optimizations

Martin Pitt martin.pitt at ubuntu.com
Sun Nov 7 15:15:08 GMT 2010


Hello Martin,
Martin Owens [2010-11-07  1:36 -0400]:
> That already is written in C, it's the script that pulls in the config
> and runs the usb_modeswitch program which is written in tcl.
> 
> It should be very possible to convert it to python or vala.

No python please, it has the same poor boot time behaviour. C or vala
or anything compiled should do.

> I have to wonder what 200 udev rules all with different vendor and
> product ids does to the boot time.

Not much, since either none or just one will match on your system.
usb-modeswitch needs those long lists, but udev is good at efficient
rule matching and parsing (that's what it is for, after all).

Martin
-- 
Martin Pitt        http://www.piware.de
Ubuntu Developer   http://www.ubuntu.com
Debian Developer   http://www.debian.org



More information about the ubuntu-devel mailing list