rc improvements (wanted?)
David Naylor
naylor.b.david at gmail.com
Thu Jul 17 19:25:21 UTC 2008
Hi,
A while back I worked on an "improvement" for rc. Most of the work was in
recoding rcorder.
The 'improvements' in rcorder:
* Add -e -i commands (allows simplification of rc by removing need for
early_late checks)
* Add stagnation or parallel support (all scripts in a stage can be executed
concurrently without conflict)
* Marginal speed increase (irrelevant since previous version is fast enough
[unless one is worried about milliseconds on start-up time])
The main reason for this work was to increase start-up time (on the userland
side) by running as many scripts concurrently as possible. This approach
allows only a minimal change in the rc scripts (there is a more efficient
method but that would mean moving most of the controlling logic into a
binary).
I am eager to continue with developing the above if the FreeBSD project (and
developers) want such a change? Or alternatively I could pass on the work
already done to someone interested.
[[Side note: I stopped short of actually field testing the concurrent changes
to rc (rcorder and the simplifications to rc scripts works]]
Regards
David
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20080717/cb237981/attachment.pgp
More information about the freebsd-current
mailing list