[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ubuntu-devel-discuss
Subject:    More LiveCD space optimizations
From:       martin.pitt () ubuntu ! com (Martin Pitt)
Date:       2010-11-07 15:15:08
Message-ID: 20101107151508.GA1592 () piware ! de
[Download RAW message or body]

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic