LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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-15-2015, 10:54 PM   #16
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097

Bsdinit is a more human approach to init because it simplifies the process of knowing what to load and when.

Take Slackware's init which is a BSD style init system. It uses instance checks to detect for execution ability of scripts and then loads them as needed in sequence. It really simplifies the process significantly by eliminating needless repetitive symlinks with numerical listings.

Technically BSD style is easier to maintain but sysvinit is the core standard for GNU/Linux, but in reality, neither method is superior to the other, just like every init system out there is not truly superior to the next.
 
Old 04-15-2015, 11:42 PM   #17
Randicus Draco Albus
Senior Member
 
Registered: May 2011
Location: Hiding somewhere on planet Earth.
Distribution: No distribution. OpenBSD operating system
Posts: 1,711
Blog Entries: 8

Rep: Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635
Quote:
Originally Posted by DJ Shaji View Post
To be honest, unless someone's building a distro from scratch, a user has to use whatever the vendor chooses for him. Doesn't really matter which one is better.
Unless the initialisation process is a criterion one uses to choose the best distribution. "I do not like this (whatever), but it comes with or is part of the system" does not make sense. If one does not like a particular part or aspect of the system, it makes more sense to not use that system and use a different system that fits one's needs/preferences better.
 
1 members found this post helpful.
Old 04-17-2015, 05:46 PM   #18
DJ Shaji
Member
 
Registered: Dec 2004
Location: Yo Momma's house
Distribution: Fedora Rawhide, ArchLinux
Posts: 518
Blog Entries: 15

Rep: Reputation: 106Reputation: 106
Quote:
Originally Posted by Randicus Draco Albus View Post
If one does not like a particular part or aspect of the system, it makes more sense to not use that system and use a different system that fits one's needs/preferences better.
That's exactly what I meant. A user can't change how a particular distro is built, unless he builds it himself. He can choose which distro to use, though.
 
Old 03-02-2016, 04:16 AM   #19
msuzenne
LQ Newbie
 
Registered: Mar 2016
Posts: 1

Rep: Reputation: Disabled
Post as a synthesis ...

Sorry as I'm deterring this old thread, but this is to bring some sort of synthesis here ;-)

The SystemIII/V init process has been already be described in details higher in this thread (Though if my memory isn't too bad, SystemIII originally had rcN scripts specified by /etc/inittab that launched rcN.d hosted scripts).

actually, today, a lot of GNU/Linux systems leave original SystemIII/SystemV init process in favor of upstart, systemd or others.
Some GNU/Linux distros are resisting, as Slackware, Arch, Gentoo do.
There is a controversy around thes new init systems, notably concerning systemd. This one seems to willing to do all including what is not of the init resort. Lot of sysadmins shouts thet it breaks UNIX philosophy (and rightminded philosophy) of "one simple program do its own job and well ; several collaboring little/simple programs do a complex task together". Plus, lot of sysadmin points the binary architecture of systemd as an opaque one compared to scripted programs of the old legacy architectures (SysV and BSD).
One of the idea of these switch off the legacy init processes was a faster boot machanism with paralelization in mind. But IMHO, boot process is an infinitesimal part of the operational state of our systems. Our systems have to be performant, but not as they boot, but as they are servicing multiuser and networking operations ...
Lets have some deeper meditation before switching !

If we look at BSD systems, it originally have choosen simplicity with central config variable-based files and rc.* scripts, although this had lead to a rather monolithic init process (Though some UNIX systems used rcN.d style with BSD central config file, as HPUX/9000 did).

NetBSD (since 1.5 if my memory is alive) has polished this original old BSD init process with the introduction of rc.d-based systemV style init directory BUT with BSD philosophy in mind : no symlinks pointing to facilities (services/daemons for the most part) management scripts. Instead, all these management script include, as comments, some provide/require directives and a rcorder program is delegated by /etc/rc to order the execution of these management scripts. All these are yet controled by the central config files /etc/rc.conf (including "defaults" and "local" ones).

IMHO, this is the best of the two worlds : we keep the old architecture with clean and central conf files, but we polished it, giving the possibility to start/stop facility by facility (this was what BSD lacks from SysV).
FreeBSD as adopted it, not sure concerning OpenBSD.
MacOSX as a counterpart has choosen launchd, but don't know how it is architectured.
Solaris switched also to SMF ; don't know about (since I left from Solaris when it had be acquired by Larry Ellison :-( ).

So, to conclude, IMHO, it is too early to say if all these switches from legacy init processes would give a worthy advantage to systems. Will stick to NetBSD "rc-NGish" one and continue to observe all the other evolutions ...
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:21 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration