21 novembro, 2009

 

CDDB3 essay

This essay talks about newly proposed standard for CDDB3:
http://moreira.dnsalias.org/home/henrique/doc/CDDB3_essay-revision02.pdf

08 novembro, 2009

 

sysvinit - the Linux internals

sysvinit are the mainstream tools to get Linux up and running.

I have spent a considerable time to see where the code source packages / tarballs would be.

Finally:
ftp://ftp.cistron.nl/pub/people/miquels/software/

Utilities such as runlevel, and most important init (!), are written by Miquel van Smoorenburg, miquels@cistron.nl.

This fellow has a considerable repository at ftp://ftp.cistron.nl/pub/people/miquels/


Let's pick runlevel, for simplicity: it has a fingerprint of around 3 Kbytes, and it uses
#include
mainly.
setutent
...rewinds the pointer of utmp (usually at /var/run/utmp) file.
Then the line containing "ut->ut_type==RUN_LVL", ut->ut_pid%256 is shown -- after the previous running level (prev = ut->ut_pid / 256). The run-level are actually two octets at utmp (the previous is the high-order byte, the current running level is the low-order byte).

This page is powered by Blogger. Isn't yours?