Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Difference between "boot" and "default"
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Travis86
n00b
n00b


Joined: 14 Feb 2005
Posts: 47
Location: The Land of GMT -6

PostPosted: Sat Feb 26, 2005 3:25 am    Post subject: Difference between "boot" and "default" Reply with quote

I was wanting to add sshd to start at boot time with rc-update. What is the difference between "boot" and "default" in rc-update? I think sshd probably would be under "boot" in any event, but I was just wondering what the difference was.

Thanks
Back to top
View user's profile Send private message
zerojay
Veteran
Veteran


Joined: 09 Aug 2003
Posts: 1033

PostPosted: Sat Feb 26, 2005 3:57 am    Post subject: Re: Difference between "boot" and "default&qu Reply with quote

Travis86 wrote:
I was wanting to add sshd to start at boot time with rc-update. What is the difference between "boot" and "default" in rc-update? I think sshd probably would be under "boot" in any event, but I was just wondering what the difference was.

Thanks


boot gets executed first before anything marked as default. There's absolutely no point to putting sshd as boot whatsoever as all it might do is start up sshd maybe 5-10 seconds sooner in the boot process.
Back to top
View user's profile Send private message
Travis86
n00b
n00b


Joined: 14 Feb 2005
Posts: 47
Location: The Land of GMT -6

PostPosted: Sat Feb 26, 2005 5:14 am    Post subject: Reply with quote

Hmmmm. Ok. Do the other options just start things after "default" runs?
Back to top
View user's profile Send private message
transient
l33t
l33t


Joined: 13 Jan 2005
Posts: 759

PostPosted: Sat Feb 26, 2005 7:41 am    Post subject: Reply with quote

Anything in boot is stuff thats required for the system to actually startup properly. Its equivalent to booting into single-user mode.
default is equivalent to runlevel 3, which is the normal user runlevel. So things like networking, loggers, sound etc... should go in the default runlevel. Things like fs checks, partition mounting and so on should go in the boot runlevel.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum