Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > alt.os.linux.slackware > #35698
| From | jayjwa <jayjwa@atr2.ath.cx.invalid> |
|---|---|
| Newsgroups | alt.os.linux.slackware |
| Subject | Re: SysVinit vs BSDinit |
| Date | 2026-07-10 13:16 -0400 |
| Organization | atr2net 2026 |
| Message-ID | <87tsq67ok7.fsf@atr2.ath.cx> (permalink) |
| References | <112o9as$ee8h$1@dont-email.me> <112oe09$fr1i$1@dont-email.me> |
Rich <rich@example.invalid> writes:
>> Some people say Slackware provides SysVinit, some BSD-like init.
Some things put stuff in Slackware's /etc/init.d, but this is unusual.
❰jayjwa❙/etc❱✔≻ ls init.d/
functions* README.functions xrdp*
I don't actually use that script anyway.
> In addition to what Lew posted, one other big difference is that
> traditional SYSV init script styling has the scripts linked as an ugly
> forest of symlinks beneath /etc/rc.d/rc?.d/ directories pointing to the
> actual scripts, with the names of the symlinks defining the order in
> which each is executed. Each "script" in effect being little more than
> a small "function" in a larger program.
In Solaris 9, /etc/rc.d is obsolete, according to /etc/init.d/README:
NOTE:
/sbin/rc2 has references to the obsolescent 'rc.d' directory. These
references are for compatibility with old INSTALL scripts. New INSTALL
scripts should use the init.d directory for related executables. The
same is true for the shutdown.d directory.
> BSD style init has the scripts as actual scripts (i.e., multiple
> functions inside each script file), which execute each other as they go
> along as needed, but without the symlink forest indirection to have to
> parse through to figure out what is, or is not, executed.
This is what SysVinit looks like on Solaris 9:
[13:08 jayjwa@kulve:/etc/init.d >] ls ../rc3.d [pts/5 hst:34]
README S15nfs.server* S50apache* S77dmi* S84appserv*
S13kdc.master* S16boot.server* S52imq* S80mipagent* S89sshd*
S14kdc* S34dhcp* S76snmpdx* S81volmgt* S90samba*
There's no /etc/rc.d.
[13:08 jayjwa@kulve:/etc/init.d >] ls -ltr | tail -20 [pts/5 hst:36]
-rwxr-xr-x 2 root other 1.5k Apr 15 2002 autoinstall*
-rwxr--r-- 6 root sys 322 May 7 2003 appserv*
-rwxr--r-- 5 root sys 404 May 14 2003 rcapd*
-rwxr--r-- 2 root sys 2.6k Dec 16 2003 sunatm*
-rwxr--r-- 6 root sys 5.7k Apr 5 2004 imq*
-rwxr-xr-x 5 root bin 1.5k Apr 26 2004 ipp*
-rwxr--r-- 4 root sys 1.1k May 10 2004 lu*
-rwxr--r-- 6 root sys 324 Dec 6 2004 samba*
-rwxr--r-- 9 root sys 391 Aug 18 2005 volmgt*
-rwxr--r-- 6 root sys 1.5k May 30 2006 apache*
-rwxr--r-- 5 root sys 1.0k Jul 19 2006 slpd*
-rwxr--r-- 5 root sys 7.0k Jul 19 2006 inetsvc*
-rwxr--r-- 5 root sys 12k Jul 19 2006 inetinit*
-rwxr--r-- 2 root sys 1.1k Jul 19 2006 cachefs.daemon*
-rwxr--r-- 2 root sys 20k Jul 19 2006 network*
-rwxr--r-- 6 root sys 1.4k Jul 19 2006 sshd*
-rwxr--r-- 5 root sys 2.8k Jul 19 2006 svm.sync*
-rwxr--r-- 5 root sys 2.7k Aug 5 2006 init.wbem*
-rwxr-xr-x 1 root root 5.5k Jun 26 2023 webstart*
-rwxr--r-- 2 root sys 963 Sep 9 2023 perf*
Looks like Slackware's is patterned off of BSD but with some
modifications. There's a rc.sysvinit but I've never seen it used in all
my years of Slackware.
--
PGP Key ID: 781C A3E2 C6ED 70A6 B356 7AF5 B510 542E D460 5CAE
"The Internet should always be the Wild West!"
Back to alt.os.linux.slackware | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
SysVinit vs BSDinit Marco Moock <mm@dorfdsl.de> - 2026-07-09 15:56 +0200
Re: SysVinit vs BSDinit Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2026-07-09 14:25 +0000
Re: SysVinit vs BSDinit Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2026-07-09 14:27 +0000
Re: SysVinit vs BSDinit Rich <rich@example.invalid> - 2026-07-09 15:16 +0000
Re: SysVinit vs BSDinit Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2026-07-09 15:46 +0000
Re: SysVinit vs BSDinit Marco Moock <mm@dorfdsl.de> - 2026-07-10 07:01 +0200
Re: SysVinit vs BSDinit jayjwa <jayjwa@atr2.ath.cx.invalid> - 2026-07-10 13:16 -0400
Re: SysVinit vs BSDinit Rich <rich@example.invalid> - 2026-07-11 01:22 +0000
Re: SysVinit vs BSDinit Marco Moock <mm@dorfdsl.de> - 2026-07-11 07:26 +0200
Re: SysVinit vs BSDinit John McCue <jmclnx@gmail.com.invalid> - 2026-07-11 15:16 +0000
Re: SysVinit vs BSDinit Mike Small <smallm@panix.com> - 2026-07-23 13:27 -0400
Re: SysVinit vs BSDinit John McCue <jmclnx@gmail.com.invalid> - 2026-07-23 23:36 +0000
Re: SysVinit vs BSDinit steve g <Sgonedes1977@gmail.com> - 2026-08-06 18:45 -0400
Re: SysVinit vs BSDinit Marco Moock <mm@dorfdsl.de> - 2026-08-07 07:16 +0200
Re: SysVinit vs BSDinit Henrik Carlqvist <Henrik.Carlqvist@deadspam.com> - 2026-08-10 05:43 +0000
Re: SysVinit vs BSDinit Rich <rich@example.invalid> - 2026-08-10 22:14 +0000
Re: SysVinit vs BSDinit Mike Small <smallm@panix.com> - 2026-08-15 00:15 -0400
Re: SysVinit vs BSDinit Henrik Carlqvist <Henrik.Carlqvist@deadspam.com> - 2026-08-16 11:06 +0000
csiph-web