LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 04-19-2003, 04:44 PM   #1
Artimus
Member
 
Registered: Feb 2003
Location: Wisconsin
Distribution: Slackware
Posts: 188

Rep: Reputation: 30
SysV versuses BSD-Style


This question has been bugging me for a few weeks now. Why would a distro use SystemV Init scripts instead of BSD-Style?

Trying to edit SysV is overwhealming. BSD-Style is real simple. Is it speed or security or something? I can not see any advantages to using SystemV scripts instead of BSD-Style.

If you could enlighten me here, I'd appriciate it.
 
Old 05-03-2003, 08:49 AM   #2
rch
Member
 
Registered: Feb 2003
Location: Santa Clara,CA
Distribution: Mandriva
Posts: 909

Rep: Reputation: 48
Re: SysV versuses BSD-Style

Quote:
Originally posted by Artimus
This question has been bugging me for a few weeks now. Why would a distro use SystemV Init scripts instead of BSD-Style?

Trying to edit SysV is overwhealming. BSD-Style is real simple. Is it speed or security or something? I can not see any advantages to using SystemV scripts instead of BSD-Style.

If you could enlighten me here, I'd appriciate it.
System V init has become the standard in the Linux world to control the startup of software at boot time. This is because it is easier to use and more powerful and flexible than the traditional BSD init.
The init binary is located in /sbin and not /etc. This is important as one might try and upgrade a machine to System V init without re-installing and reformatting.Linux checks /etc for its init.
SysV init also differs from BSD init in that the config files are in a subdirectory of /etc instead of residing directly in /etc. This directory is called rc.d. In there you will find rc.sysinit and the following directories such as rcx.d init.d
Good news for you though :Slackware uses BSD style init.
So if you are so comfortable with BSD you could try Slackware(on last count they were using BSD ;don't blame me if they have switched to SysV)
for a good comparision of BSD and SystemV
http://www.linuxsa.org.au/meetings/1...init/init.html
 
Old 05-03-2003, 09:34 PM   #3
ghostdancer
Member
 
Registered: Apr 2002
Distribution: Slackware
Posts: 266

Rep: Reputation: 30
Someone want to start a flame war??

IMHO, is just depend on the individual preferences...
 
Old 05-03-2003, 10:37 PM   #4
rch
Member
 
Registered: Feb 2003
Location: Santa Clara,CA
Distribution: Mandriva
Posts: 909

Rep: Reputation: 48
Quote:
Originally posted by ghostdancer
Someone want to start a flame war??

IMHO, is just depend on the individual preferences...
no flame wars here
just telling what i think
 
Old 05-04-2003, 09:09 PM   #5
Artimus
Member
 
Registered: Feb 2003
Location: Wisconsin
Distribution: Slackware
Posts: 188

Original Poster
Rep: Reputation: 30
I think you missed my point, rch. I wanted to know why SysV is better, not what SysV is. I'm already using Slackware, by the way. The points you've brought up:

Easier to use:
Easier to use? Are you crazy? BSD-Style are simple sh scripts, while SysV uses symlinks and priorities...

Powerful/Flexable:
Could you give me a reasonable example(a.k.a not IBM's mainframe or something) of how they can do something that BSD-style can't.

Upgrading to SysV:
Why the heck would I do that? I made a big speech asking why nearly all Linux distros seem to use SysV scripts.

Edit: MODS: If this gets into a huge flame war, please close it.
 
Old 05-04-2003, 09:44 PM   #6
rshaw
Senior Member
 
Registered: Apr 2001
Location: Perry, Iowa
Distribution: Mepis , Debian
Posts: 2,694

Rep: Reputation: 45
http://linuxtipps.sourceforge.net/sh.../en/faq/56.htm
 
Old 05-04-2003, 11:25 PM   #7
rch
Member
 
Registered: Feb 2003
Location: Santa Clara,CA
Distribution: Mandriva
Posts: 909

Rep: Reputation: 48
Artimus:The above link by rshaw answers almost all the questions.
I have to agree that SysV has its advantages along with its disadvantages.
Well it is easier to use BSD but do you want to kill the services with ps -aux|grep blah
and then killing the pid instead of a
easier :service blah stop/star/reload/etc
You must agree with me that it would be easier for the end user.
as for those who write the init scipts using BSD will mean less work
But you must agree with me that SysV provides better flexibility.
I hope that this is the end of the discussion.

Last edited by rch; 05-04-2003 at 11:28 PM.
 
Old 05-05-2003, 06:44 AM   #8
Artimus
Member
 
Registered: Feb 2003
Location: Wisconsin
Distribution: Slackware
Posts: 188

Original Poster
Rep: Reputation: 30
Thank you, THAT was what I was looking for. It also made a lot more sense of the Szzz junk.
 
Old 05-05-2003, 09:23 AM   #9
rch
Member
 
Registered: Feb 2003
Location: Santa Clara,CA
Distribution: Mandriva
Posts: 909

Rep: Reputation: 48
Quote:
It also made a lot more sense of the Szzz junk.
Plzzzzz not again!
 
Old 05-05-2003, 04:50 PM   #10
Artimus
Member
 
Registered: Feb 2003
Location: Wisconsin
Distribution: Slackware
Posts: 188

Original Poster
Rep: Reputation: 30
I ment like S10Apache or S5Bind or something...
 
Old 06-25-2012, 11:15 PM   #11
darthaxul
Member
 
Registered: Aug 2008
Distribution: Gentoo; Funtoo
Posts: 197

Rep: Reputation: 18
runner

There is no real difference. It's just moved to sysV because just like with developers on apache and xorg, if somone wanted to modify the configuration it's easier to see the change on a separate smaller 20 line file rather than some massive 2000 line config file. But the issue with sysV is that when you need to troubleshoot something it is a complete disaster. Not only is it a waste of hard drive space, there is more "snooping" to find the "correct" config file, then save it to the "correct" locations. There is no advantage to the sysV, some may claim otherwise but that was back in the day when bsd init was young. All said when the dust settles and the air clears BSD init style scripts are just the future of any linux distro.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Which distros use BSD-style layout for initialization files, and which System V's? kornerr Linux - General 5 06-11-2005 08:27 PM
VIM-style wrapping to OpenOffice style schmmd Linux - Software 1 12-21-2004 06:50 PM
BSD vs SysV R3ctor *BSD 2 01-27-2004 02:42 PM
sysV vs bsd starting scripts sqn Linux From Scratch 3 06-16-2002 01:42 AM
SysV vs BSD-like gui10 Linux - General 0 12-29-2001 12:13 AM


All times are GMT -5. The time now is 05:36 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration