Wednesday, June 16, 2010

Chapter 7.2 LFS-Bootscripts-20100124

Here we go.

Just out of curiosity, what is in the /etc/sysconfig directory? Since kernel modules is the topic I am most interested in understanding. Modules is empty except for a "Begin /etc/sysconfig/modules" commented message.

root:~# ls -lrt /etc/sysconfig/
total 16
-rw-r--r-- 1 root root  408 Jun 16 11:36 rc
drwxr-xr-x 3 root root 4096 Jun 16 11:36 network-devices
-rw-r--r-- 1 root root  559 Jun 16 11:36 modules
-rw-r--r-- 1 root root 1037 Jun 16 11:36 createfiles

I have read about runlevels before, and used them usually when I have messed up the linux and had to do some repairs (such as I was able).
 root:/etc/rc.d# ls -lrt
total 36
drwxr-xr-x 2 root root 4096 Jun 16 11:36 rc6.d
drwxr-xr-x 2 root root 4096 Jun 16 11:36 rc5.d
drwxr-xr-x 2 root root 4096 Jun 16 11:36 rc4.d
drwxr-xr-x 2 root root 4096 Jun 16 11:36 rc3.d
drwxr-xr-x 2 root root 4096 Jun 16 11:36 rc2.d
drwxr-xr-x 2 root root 4096 Jun 16 11:36 rc1.d
drwxr-xr-x 2 root root 4096 Jun 16 11:36 rc0.d
drwxr-xr-x 2 root root 4096 Jun 16 11:36 init.d
drwxr-xr-x 2 root root 4096 Jun 16 11:36 rcsysinit.d

No comments:

Post a Comment