On 11-10-27 11:56, Fredrik Rinnestam wrote:
I have to say, i started by looking at rc.conf and i was taken back a bit. Granted, most is comments - but it still spanned my entire terminal screen. The beauty with our current rc is that it takes about 5 seconds to figure out exactly how everything works, and i dont want to loose that.
Well, in context of rc.conf, most stuff is indeed comments - and the new knobs are for the large part stuff that complements earlier settings (silently assumed to be set to "something" or ignored) - e.g. hw clock was always assumed utc + no choice if we even want to use it; unimap/chrmap were not available, consoles were running happily in utf8 while crux assumed 8bit, logger's facility/priority etc. A few really new knobs provide immediately obvious functionality, and some things are nice to have - start/stop immune to bad rc.d scripts (SRV_TIMEOUT), umount config (UMOUNT_RO, UMOUNT_NO - really good for a bit more complex settings with md/lvm/upses/crypto/etc.), optional additional unkillable processes, kmsg logger level/prio. Things that could be removed (hooks provide place for this kind of functionality either way) - KMODS, extra FS mount toggles. Basic scripts - rc.{sysinit,multi,single,shutdown) are very terse, actually [much] shorter than their earlier versions - though of course they call "fat" functions from rc.engine/. But these are logically named and obvious in what they do.