LWN.net Logo

LPC: Booting Linux in five seconds

LPC: Booting Linux in five seconds

Posted Sep 23, 2008 13:00 UTC (Tue) by jpmcc (guest, #2452)
Parent article: LPC: Booting Linux in five seconds

Why boot? why suspend? I have two mobile devices, a Palm TX and an Eee PC. The Palm is effectively always on - that's the real prize Linux hackers should be aiming for.

John


(Log in to post comments)

LPC: Booting Linux in five seconds

Posted Sep 23, 2008 13:39 UTC (Tue) by etienne_lorrain@yahoo.fr (guest, #38022) [Link]

If you have a software loaded using a library (for instance Glibc), then you upgrade the Glibc package, only the file on disk is updated, and only the application newly created will use this new file.
Linux do not provide re-loading current tasks with the new libraries; during the time in between the library is upgraded and all the old users of the old library have disappered, the library file is twice is memory - and old programs will still contain bugs of the old library.
Debian seems to be good at restarting services when their dependancies are upgraded, but I am not sure they handle things like Glibc upgrade.
That is why booting from scratch is needed from times to times.

LPC: Booting Linux in five seconds

Posted Sep 23, 2008 17:43 UTC (Tue) by hmh (subscriber, #3838) [Link]

Yes, Debian deals with glibc upgrades. But nothing is really perfect, it is best to just check for old libs in memory after an upgrade:

lsof +L1 | grep lib

together with

lsof -n | grep 'path inode' | grep lib

will give you that info, for example.

LPC: Booting Linux in five seconds

Posted Oct 3, 2008 11:03 UTC (Fri) by pabs (subscriber, #43278) [Link]

A better way to do that is:

apt-get install debian-goodies ; checkrestart -v

That gives you package names and init scripts to run.

LPC: Booting Linux in five seconds

Posted Sep 23, 2008 18:12 UTC (Tue) by arjan (subscriber, #36785) [Link]

the FAA and TSA are 3 letter agencies that tend to make you turn off your devices.... just as an example

not booting is obviously faster as any type of boot, no argument about that. The good news is that there's no exclusivity between the two.

LPC: Booting Linux in five seconds

Posted Sep 25, 2008 16:18 UTC (Thu) by kamil (subscriber, #3802) [Link]

My understanding is that the logic behind turning off your laptop during the take off/landing is not about electronic interference, but more about you being alert to what's going on on board. Also keep in mind that they don't just ask you to turn them off, but also to stow them. They simply don't want anything to obstruct the escape routes in case of an emergency, including any wires around your head.

What I'm trying to say here is that in practice, suspending your laptop during take off/landing as opposed to turning it off is perfectly fine. Your average flight attendant will likely flatly deny that when asked, but those people are not paid to think...

LPC: Booting Linux in five seconds

Posted Sep 30, 2008 21:27 UTC (Tue) by salimma (subscriber, #34460) [Link]

And given that you don't really hear a chorus of start-up chimes from business travelers' laptops once the electronics gag has been lifted, that's obviously what they've been doing all along: suspending.

Nobody fully turns off their PDAs too, as far as I can tell. Though you hope they do remember to put them to in-flight mode...

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds