Re: Boot optimization for LTSP and ltspfs weirdness

Vagrant Cascadian <[email protected]> Thu, 24 Dec 2009 11:46:50 -0800
Newsgroups gmane.linux.terminal-server.devel
Message-ID <[email protected]>
On Tue, Dec 22, 2009 at 05:05:41PM -0500, Stéphane Graber wrote:
> While working on porting LTSP to upstart for Ubuntu and any other distro
> support it, I've been doing a few bootcharts, something weird I noticed
> is ltspfs' behavior.
> 
> It looks like it's called by udev at some point during the boot (I don't
> have anything plugged in, nor a CD-Rom reader) and spawns a LOT of
> grep/env/awk.
> 
> You can see the bootchart here : 
> http://www.stgraber.org/download/ltsp-bootchart-lucid.png
> 
> If someone knows what's going on here and is interested in fixing it or 
> helping me fixing it, I'd appreciate it.

it's probably the code i added to call cdpinger when udev detects a CDROM
device. in the past, we called it from an init script, but that didn't work
with USB CDROMs and such which may or may not be plugged in.

it was definitely trickier than i had thought to implement when i initially
started on it, so the code is admittedly a little ugly.

live well,
  vagrant

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_____________________________________________________________________
Ltsp-developer mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-developer
For additional LTSP help,   try #ltsp channel on irc.freenode.net