Tiny Core Linux

Tiny Core Base => TCB Talk => Topic started by: batnas on April 01, 2010, 10:55:19 AM

Title: Visual Boot timeline/map
Post by: batnas on April 01, 2010, 10:55:19 AM
Hi

It would be cool if someone could make a timeline on the boot of TC

It would be easier for people to figure out, when scripts is executed eg. tc-config, and easier to develop new features.

It would be some bubbles with arrows and a few explanations of what thing do, or something like this:
http://www.ibm.com/developerworks/linux/library/l-boot-faster/figure1.gif (http://www.ibm.com/developerworks/linux/library/l-boot-faster/figure1.gif)
But more extended


\\Batnas
Title: Re: Visual Boot timeline/map
Post by: batnas on April 01, 2010, 10:59:08 AM
Or something like this:
http://milindchoudhary.files.wordpress.com/2009/03/boot1.png?w=385&h=523 (http://milindchoudhary.files.wordpress.com/2009/03/boot1.png?w=385&h=523)
But showing all script files like 'tc-config', and maybe includes too:
Code: [Select]
. /etc/init.d/tc-functions

\\Batnas
Title: Re: Visual Boot timeline/map
Post by: curaga on April 01, 2010, 03:32:55 PM
IIRC it was in the 2.9 TC release thread I posted a bootchart, would it be of use?
Title: Re: Visual Boot timeline/map
Post by: batnas on April 01, 2010, 04:09:38 PM
Probably

I looked, but could not find it.
Can you past a link??

\\Batnas
Title: Re: Visual Boot timeline/map
Post by: curaga on April 01, 2010, 04:16:48 PM
Yeah, it was 2.8 not 2.9.

(http://i46.tinypic.com/29xjc4w.png)
Title: Re: Visual Boot timeline/map
Post by: batnas on April 01, 2010, 04:29:17 PM
Nice!

But i was more looking for a chart, that told which script the kernel is calling on startup, and what the next script called is...

Something like the 2. link i posted, but a bit more extensive....

Title: Re: Visual Boot timeline/map
Post by: jur on April 01, 2010, 07:12:17 PM
Yeah, it was 2.8 not 2.9.

(http://i46.tinypic.com/29xjc4w.png)
Wow!

Could that be an extension? If not, how would I go about doing what you did there?
Title: Re: Visual Boot timeline/map
Post by: batnas on April 01, 2010, 07:42:16 PM
I believe it is from here:
http://www.bootchart.org/ (http://www.bootchart.org/)
Title: Re: Visual Boot timeline/map
Post by: curaga on April 02, 2010, 12:11:05 PM
Bootchart has been unmaintained for a while. I used ubootchart, and rendered with bootchart-pl.tcz.

The daemon is not in an extension, while the renderer is. I decided against making an extension, because it cannot be used as such (not even in /opt/tce). Always requires a remaster.


I guess I'll make it available as a tarball, with wiki instructions, seeing as there's demand.

edit: Here you go:
http://tinycorelinux.com/wiki/tiki-index.php?page=Bootchart
Title: Re: Visual Boot timeline/map
Post by: ^thehatsrule^ on April 03, 2010, 07:39:42 PM
You could use /init as a starting point.