Tiny Core Base > TCB Talk

Boot sequence tc / mc - tc-config the only difference?

(1/1)

bigpcman:
I think I can now follow the tinycore boot sequence:

init -> inittab -> init.d/rcS -> tc-config -> init -> /root/.profile -> /home/tc/.profile -> /usr/bin/startx  -> ( xsetup.sh) -> /home/tc/.xsession -> Xvesa, jwm & wbar
                                                                                                                                
It looks like microcore follows the same boot sequence as tc and everything downstream of tc-config execution is the same as tinycore. Is this basically correct? Of course there are tests along the way to avoid starting up the X environment based on a variety of "status states".

bigpcman:
Building upon my previous post I'm wondering why the following difference in code is necessary between tc and mc in tc-config? I'm trying to dig in deeper little by little.


--- Code: ---[tc]
echo "$USER" > /etc/sysconfig/tcuser
if [ -n "$SUPERUSER" ]; then
   touch /etc/sysconfig/superuser
else
   sed -i 's/root/'"$USER"'/' /etc/inittab
fi
mkdir -p /home/"$USER"

--- End code ---


--- Code: ---[mc]
echo "$USER" > /etc/sysconfig/tcuser
mkdir -p /home/"$USER"
--- End code ---

roberts:
I am preparing for future capabilites. Not currently recognized. No harm. No foul.

bigpcman:

--- Quote from: roberts on June 11, 2009, 10:31:56 PM ---I am preparing for future capabilites. Not currently recognized. No harm. No foul.

--- End quote ---

... and they will be wonderful !

Navigation

[0] Message Index

Go to full version