Pascal Joly wrote:
quelle différence y a t il entre les fichiers :
/etc/rc.d/init.d
et /etc/init.d
[root@pc_bernard][~]$ll /etc/init.d
lrwxrwxrwx 1 root root 11 nov 22 11:36 /etc/init.d ->
rc.d/init.d/
C'est donc le même fichier !!
De même pour les rc*.d :
[root@pc_bernard][/etc]$ ll rc*
lrwxrwxrwx 1 root root 7 nov 22 11:36 rc -> rc.d/rc*
lrwxrwxrwx 1 root root 10 nov 22 11:36 rc0.d -> rc.d/rc0.d/
lrwxrwxrwx 1 root root 10 nov 22 11:36 rc1.d -> rc.d/rc1.d/
lrwxrwxrwx 1 root root 10 nov 22 11:36 rc2.d -> rc.d/rc2.d/
lrwxrwxrwx 1 root root 10 nov 22 11:36 rc3.d -> rc.d/rc3.d/
lrwxrwxrwx 1 root root 10 nov 22 11:36 rc4.d -> rc.d/rc4.d/
lrwxrwxrwx 1 root root 10 nov 22 11:36 rc5.d -> rc.d/rc5.d/
lrwxrwxrwx 1 root root 10 nov 22 11:36 rc6.d -> rc.d/rc6.d/
lrwxrwxrwx 1 root root 13 nov 22 11:36 rc.local ->
rc.d/rc.local*
lrwxrwxrwx 1 root root 15 nov 22 11:36 rc.sysinit ->
rc.d/rc.sysinit*
rc.d:
total 80
drwxr-xr-x 2 root root 4096 nov 22 17:14 init.d/
-rwxr-xr-x 1 root root 3526 sep 24 16:30 rc*
drwxr-xr-x 2 root root 4096 nov 22 17:14 rc0.d/
drwxr-xr-x 2 root root 4096 nov 22 17:14 rc1.d/
drwxr-xr-x 2 root root 4096 nov 22 17:14 rc2.d/
drwxr-xr-x 2 root root 4096 nov 22 17:14 rc3.d/
drwxr-xr-x 2 root root 4096 nov 22 17:14 rc4.d/
drwxr-xr-x 2 root root 4096 nov 22 17:14 rc5.d/
drwxr-xr-x 2 root root 4096 nov 22 17:14 rc6.d/
-rwxr-xr-x 1 root root 1636 sep 24 16:30 rc.local*
-rwxr-xr-x 1 root root 601 sep 24 16:30 rc.modules*
-rwxr-xr-x 1 root root 32837 sep 24 16:30 rc.sysinit*
quelle est la signification des fichiers rc0.d, rc1.d, rc2...
root@pc_bernard][/etc]$ ll rc0.d/
total 0
lrwxrwxrwx 1 root root 18 nov 22 11:44 K05keytable ->
../init.d/keytable*
lrwxrwxrwx 1 root root 12 nov 22 11:36 K09dm ->
../init.d/dm*
lrwxrwxrwx 1 root root 16 nov 22 11:39 K10devfsd ->
../init.d/devfsd*
lrwxrwxrwx 1 root root 13 nov 22 11:41 K10xfs ->
../init.d/xfs*
lrwxrwxrwx 1 root root 18 nov 22 11:46 K11internet ->
../init.d/internet*
lrwxrwxrwx 1 root root 17 nov 22 11:44 K20kheader ->
../init.d/kheader*
lrwxrwxrwx 1 root root 13 nov 22 17:14 K20nfs ->
../init.d/nfs*
lrwxrwxrwx 1 root root 17 nov 22 11:36 K20partmon ->
../init.d/partmon*
lrwxrwxrwx 1 root root 14 nov 22 13:47 K25sshd ->
../init.d/sshd*
lrwxrwxrwx 1 root root 17 nov 22 17:14 K30postfix ->
../init.d/postfix*
lrwxrwxrwx 1 root root 20 nov 22 11:44 K44rawdevices ->
../init.d/rawdevices*
lrwxrwxrwx 1 root root 15 nov 22 11:44 K45tmdns ->
../init.d/tmdns*
lrwxrwxrwx 1 root root 16 nov 22 11:40 K50xinetd ->
../init.d/xinetd*
lrwxrwxrwx 1 root root 13 nov 22 11:43 K60atd ->
../init.d/atd*
lrwxrwxrwx 1 root root 15 nov 22 11:44 K60crond ->
../init.d/crond*
lrwxrwxrwx 1 root root 14 nov 22 11:47 K60cups ->
../init.d/cups*
lrwxrwxrwx 1 root root 19 nov 22 17:13 K60saslauthd ->
../init.d/saslauthd*
lrwxrwxrwx 1 root root 15 nov 22 11:44 K69sound ->
../init.d/sound*
lrwxrwxrwx 1 root root 14 nov 22 11:36 K70alsa ->
../init.d/alsa*
lrwxrwxrwx 1 root root 14 nov 22 11:42 K74apmd ->
../init.d/apmd*
lrwxrwxrwx 1 root root 15 nov 22 11:44 K75netfs ->
../init.d/netfs*
lrwxrwxrwx 1 root root 16 nov 22 11:44 K80random ->
../init.d/random*
lrwxrwxrwx 1 root root 17 nov 22 11:43 K86nfslock ->
../init.d/nfslock*
lrwxrwxrwx 1 root root 16 nov 22 11:44 K88syslog ->
../init.d/syslog*
lrwxrwxrwx 1 root root 17 nov 22 11:44 K89portmap ->
../init.d/portmap*
lrwxrwxrwx 1 root root 17 nov 22 11:44 K90network ->
../init.d/network*
lrwxrwxrwx 1 root root 19 nov 22 11:43 K95harddrake ->
../init.d/harddrake*
lrwxrwxrwx 1 root root 17 nov 22 11:36 S00killall ->
../init.d/killall*
lrwxrwxrwx 1 root root 14 nov 22 11:36 S01halt ->
../init.d/halt*
Ce sont tous les programmes qui s'exécutent automatiquement en init0
pour rc0.d de même pour les autres si je ne me trompe pas.
Pour plus d'expliquation: ce n'est pas moi qu'il faut voir!
--
Amicalement vOOotre Troumad Alias Bernard SIAUD
mon site : http://troumad.free.fr : AD&D : maths WEB sectes.
Pour la liberté soutenez http://www.mandrakelinux.com/fr/ : Mandrake
Linux, http://www.eurolinux.org/index.fr.html
Je souhaite recevoir uniquement des documents avec des formats ouverts,
par exemple avec http://fr.openoffice.org
Vous souhaitez acquerir votre Pack ou des Services MandrakeSoft?
Rendez-vous sur "http://www.mandrakestore.com"
|