reducing shutdown time

Oliver Fromme olli at lurza.secnetix.de
Mon Jul 18 12:43:06 GMT 2005


Marc Santhoff <M.Santhoff at t-online.de> wrote:
 > I was searching for a way to shorten the stopping time in general.

Have a look at ``sysctl kern.shutdown''.  If you have only
read-only filesystems, you can probably safely set them to
zero.  I haven't tried that myself, though.

Best regards
   Oliver

-- 
Oliver Fromme,  secnetix GmbH & Co KG, Marktplatz 29, 85567 Grafing
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.

PI:
int f[9814],b,c=9814,g,i;long a=1e4,d,e,h;
main(){for(;b=c,c-=14;i=printf("%04d",e+d/a),e=d%a)
while(g=--b*2)d=h*b+a*(i?f[b]:a/5),h=d/--g,f[b]=d%g;}


More information about the freebsd-stable mailing list