You are not logged in.

#1 2005-04-17 01:38:51

joe.henderson1
Member
Registered: 2005-04-17
Posts: 13

Init... rc.d/rc0.d/rc.n.d

All,

I'm coming from a sun background so bare w/me...

I used to seeing /etc/rc.d/rc0.d.. threw rc6.d.....

with Snnhttpd (S04httpd) under rcn.d (rc3.d)....

and this linux version has a rc.conf with all the deamons..

Is there a doc that shows howto convert this or is this how arch does
inits...

TIA,

Joe

Offline

#2 2005-04-17 02:58:49

Stinky
Member
From: The Colony, TX
Registered: 2004-05-28
Posts: 187

Re: Init... rc.d/rc0.d/rc.n.d

I came from Slack so I was use to that too.  But, as far as I know, this is just the way Arch does it.  I got use to it because I like Arch so much.  lol Not sure if it can be converted or not.   Anobody know for sure?

Offline

#3 2005-04-17 07:56:29

RedShift
Member
From: Belgium
Registered: 2004-07-16
Posts: 230

Re: Init... rc.d/rc0.d/rc.n.d

Ofcourse it can be converted. Take a look at the /etc directory, for example rc.sysinit. You'll just have to do alot of coding :-P.


:?

Offline

#4 2005-04-17 11:25:38

joe.henderson1
Member
Registered: 2005-04-17
Posts: 13

Re: Init... rc.d/rc0.d/rc.n.d

thanks...

Offline

#5 2005-04-17 13:49:50

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: Init... rc.d/rc0.d/rc.n.d

the way it pretty much works is that, you put your daemons in your /etc/rc.conf DAEMONS line.
The actual daemon scripts are located in /etc/rc.d

On boot, in runlevels three and five, it starts all the daemons in your daemons line.

On run level five it also starts X, as directed in the /etc/inittab

On shutdown and reboot, it just stops the daemons it started at boot.

There you go!

Offline

#6 2005-04-17 20:48:56

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Init... rc.d/rc0.d/rc.n.d

you can do some google searches for the differences between sysV init and BSD init - sun/slackware/et al use sysV - arch/gentoo/et al use BSD...

Offline

#7 2005-04-17 21:28:42

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,615
Website

Re: Init... rc.d/rc0.d/rc.n.d

BSD uses BSD too I think. wink


"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

#8 2005-04-17 21:56:52

puntmuts
Member
Registered: 2005-02-22
Posts: 138

Re: Init... rc.d/rc0.d/rc.n.d

phrakture wrote:

you can do some google searches for the differences between sysV init and BSD init - sun/slackware/et al use sysV - arch/gentoo/et al use BSD...

I'm sure Slackware uses BSD, but it supports SysV scripts and links as well. I believe Gentoo uses something based on SysV, they did when I used Gentoo (pre 1.0) . smile


Out / Gone
Mirgrating all my machines off ArchLinux . No longer part of the ArchLinux community / users .
Done. Goodbye.

Offline

#9 2005-04-17 22:45:58

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Init... rc.d/rc0.d/rc.n.d

that's not true - sysV style init is the one which organizes things based on numbered symlinks - S00 R00 S99 etc
BSD style init uses direct names and different ways of determining when to run each name: i.e. httpd, dnsmasq, etc

Offline

Board footer

Powered by FluxBB