Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Jun 2001 09:16:40 +0800
From:      David Xu <bsddiy@163.net>
To:        Sergey Babkin <babkin@bellatlantic.net>
Cc:        Warner Losh <imp@harmony.village.org>, Mark Santcroos <marks@ripe.net>, Doug Barton <DougB@DougBarton.net>, <freebsd-hackers@FreeBSD.ORG>
Subject:   Re[2]: import NetBSD rc system
Message-ID:  <1911008720.20010612091640@163.net>
In-Reply-To: <3B25531D.501B0B05@bellatlantic.net>
References:  <20010611201243.B77956@laptop.6bone.nl> <20010611174717.A77956@laptop.6bone.nl> <1795096378.20010611154930@163.net> <3B2484EA.B1F04812@DougBarton.net> <20010611174717.A77956@laptop.6bone.nl> <200106111800.f5BI0il25446@billy-club.village.org> <200106111827.f5BIR2V38517@harmony.village.org> <3B25531D.501B0B05@bellatlantic.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello Sergey,

Tuesday, June 12, 2001, 7:24:13 AM, you wrote:

SB> Warner Losh wrote:
>> 
>> In message <20010611201243.B77956@laptop.6bone.nl> Mark Santcroos writes:
>> : Can it be called SysV style? Or not seperated in that way?
>> : (I must say, the big ugly rc thing is the only thing I don't like about
>> : FreeBSD, I'm very much in favor of the SysV style init. But thats another
>> : war ;)
>> 
>> It specifically isn't SysV style.  It works.  SysV style encodes the
>> startup order in the file NAMES.  The NetBSD rc system encodes it in
>> the files themselves.  A big improvement.

SB> Or a drawback. Encoding the order in the names makes changing
SB> the order or disabling some files easy, without any neccessity to 
SB> edit the contents of the files.

SB> Though I haven't seen the NetBSD approach, maybe it actually is better.

SB> -SB

It is based a concept: dependence, it's a more advance idea than SysV,
for example: NFS relies on network, if network is not started, and if
you start NFS, it will automatic start network, if network starts failure,
NFS start is aborted. of course it has SysV capability, you can start
and stop individual daemon or subsystem : for example:

$/etc/rc.d/nfs stop
$/etc/rc.d/nfs start

-- 
David Xu



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1911008720.20010612091640>