Re: shutdown on BSD and Linux

2006-09-09 Thread Matthew Dillon
: :This is because Linux lies about kernel loading. When kernel boots it has :so little functions that you have the impression it is very fast. But all :the hardware drivers are loaded after, when init launches hardware :detection and kernel modules loading. It is all those hardware probes :whic

Re: shutdown on BSD and Linux

2006-09-09 Thread Gergo Szakal
[EMAIL PROTECTED] wrote: I am puzzled hat nobody mentions the most widely used OS which has parallel boot, it is WindowsXP. On my machine which triple boots Windows, BSD and Linux, it is Windows which boots faster by fast, in fact it takes half the time of unices to be in graphical mode able to u

Re: shutdown on BSD and Linux

2006-09-09 Thread talon
Rahul Siddharthan wrote: x > > I tried upstart on my laptop and got the fastest console login I have > ever seen: within a couple of seconds of the kernel loading, I could > log in to my home directory, even as it continued to probe other > hardware, connect to the network, etc. The graphical log

Re: shutdown on BSD and Linux

2006-09-07 Thread Rahul Siddharthan
"Justin C. Sherrill" wrote: >> PS: By the way, recently someone suggested in a FreeBSD >> mailing list that start scripts could be run in parallel >> if they don't depend on each other (which rcorder(8) can >> easily find out). It would probably speed up booting. >> However, I don't know if anyon

Re: shutdown on BSD and Linux

2006-09-07 Thread Rahul Siddharthan
>>> BTW - the poweroff on my laptop, with Dragonfly and FreeBSD (last I >>> checked), is also accompanied by a rather alarming and short-lived >>> whine, as if a spinning disk or fan was suddenly stopped. I don't get >>> this sound with linux or windows. >> >> I had an older system that would do t

Re: shutdown on BSD and Linux

2006-09-07 Thread Jamie
In <[EMAIL PROTECTED]>, Oliver Fromme <[EMAIL PROTECTED]> mentions: > > So what's up? Is BSD-style shutdown dangerous, or are the Linux > > people stupid? > >Neither nor. > >BSD and Linux have very different init/rc implmentations. >Linux has a SysV-style runlevel implementation (similar to >Solar

Re: shutdown on BSD and Linux

2006-09-07 Thread Geert Hendrickx
On Thu, Sep 07, 2006 at 07:35:24PM +0200, Erik Wikström wrote: > On 2006-09-07 18:46, Oliver Fromme wrote: > >PS: By the way, recently someone suggested in a FreeBSD > >mailing list that start scripts could be run in parallel > >if they don't depend on each other (which rcorder(8) can > >easily fi

Re: shutdown on BSD and Linux

2006-09-07 Thread Freddie Cash
On Thu, September 7, 2006 3:28 am, Rahul Siddharthan wrote: > I've long had a question on the shutdown process. Linux systems run > a separate shutdown script for every process that was started at boot, > and can take a minute or two to shutdown. FreeBSD and Dragonfly, as > far as I can tell, j

Re: shutdown on BSD and Linux

2006-09-07 Thread Justin C. Sherrill
On Thu, September 7, 2006 12:46 pm, Oliver Fromme wrote: > PS: By the way, recently someone suggested in a FreeBSD > mailing list that start scripts could be run in parallel > if they don't depend on each other (which rcorder(8) can > easily find out). It would probably speed up booting. > Howev

Re: shutdown on BSD and Linux

2006-09-07 Thread Geert Hendrickx
On Thu, Sep 07, 2006 at 04:46:47PM +, Oliver Fromme wrote: > PS: By the way, recently someone suggested in a FreeBSD mailing list > that start scripts could be run in parallel if they don't depend on each > other (which rcorder(8) can easily find out). It would probably speed up > booting. H

Re: shutdown on BSD and Linux

2006-09-07 Thread Erik Wikström
On 2006-09-07 18:46, Oliver Fromme wrote: PS: By the way, recently someone suggested in a FreeBSD mailing list that start scripts could be run in parallel if they don't depend on each other (which rcorder(8) can easily find out). It would probably speed up booting. However, I don't know if anyo

Re: shutdown on BSD and Linux

2006-09-07 Thread Oliver Fromme
Rahul Siddharthan wrote: > Joerg Sonnenberger wrote: > > > > If you use shutdown to reboot, it runs the scripts from /etc/rc.d as > > well, but most simply don't do anything. > > Thanks Joerg (and Oliver) for your answers. > > I'm still puzzled because in the linux case, too, most scrip

Re: shutdown on BSD and Linux

2006-09-07 Thread Francis GUDIN
On 07-09-2006, Erik Wikstr�m <[EMAIL PROTECTED]> wrote : > On 2006-09-07 17:50, Justin C. Sherrill wrote: >> On Thu, September 7, 2006 6:28 am, Rahul Siddharthan wrote: >> >> I had an older system that would do this with the fans; I never saw a >> negative effect. I assumed it was some setting th

Re: shutdown on BSD and Linux

2006-09-07 Thread Erik Wikström
On 2006-09-07 17:50, Justin C. Sherrill wrote: On Thu, September 7, 2006 6:28 am, Rahul Siddharthan wrote: BTW - the poweroff on my laptop, with Dragonfly and FreeBSD (last I checked), is also accompanied by a rather alarming and short-lived whine, as if a spinning disk or fan was suddenly stop

Re: shutdown on BSD and Linux

2006-09-07 Thread Jeremy C. Reed
Just to clarify, the rc.shutdown script uses rcorder with the "-k shutdown" option for /etc/rc.d/*. pkgbox:/home/reed> grep 'KEYWORD.*shutdown' /etc/rc.d/* /etc/rc.d/cron:# KEYWORD: shutdown /etc/rc.d/inetd:# KEYWORD: shutdown /etc/rc.d/ipfs:# KEYWORD: shutdown /etc/rc.d/local:# KEYWORD: shutdo

Re: shutdown on BSD and Linux

2006-09-07 Thread Justin C. Sherrill
On Thu, September 7, 2006 6:28 am, Rahul Siddharthan wrote: > BTW - the poweroff on my laptop, with Dragonfly and FreeBSD (last I > checked), is also accompanied by a rather alarming and short-lived > whine, as if a spinning disk or fan was suddenly stopped. I don't get > this sound with linux or

Re: shutdown on BSD and Linux

2006-09-07 Thread Joerg Sonnenberger
On Thu, Sep 07, 2006 at 11:50:20AM +, Rahul Siddharthan wrote: > If you include ports/pkgsrc, it IS a "distro". And decidedly flaky, > at that, compared to most linux distros. No BSD comes with Apache or > PostgreSQL in the base system, and only NetBSD includes Postfix, to > give the three ex

Re: shutdown on BSD and Linux

2006-09-07 Thread Rahul Siddharthan
Joerg Sonnenberger wrote: >On Thu, Sep 07, 2006 at 10:28:44AM +, Rahul Siddharthan wrote: >> I've long had a question on the shutdown process. Linux systems run a >> separate shutdown script for every process that was started at boot, >> and can take a minute or two to shutdown. FreeBSD and D

Re: shutdown on BSD and Linux

2006-09-07 Thread Rahul Siddharthan
Bill Hacker wrote: >Rahul Siddharthan wrote: >> The question came to my mind again when I saw Ubuntu's specification >> for shutdown in their future versions: >>https://wiki.ubuntu.com/Teardown >> >> Basically, it says the majority of init scripts needn't be called at >> shutdown because the pr

Re: shutdown on BSD and Linux

2006-09-07 Thread Joerg Sonnenberger
On Thu, Sep 07, 2006 at 10:28:44AM +, Rahul Siddharthan wrote: > I've long had a question on the shutdown process. Linux systems run a > separate shutdown script for every process that was started at boot, > and can take a minute or two to shutdown. FreeBSD and Dragonfly, as > far as I can te

Re: shutdown on BSD and Linux

2006-09-07 Thread Bill Hacker
Rahul Siddharthan wrote: I've long had a question on the shutdown process. Linux systems run a separate shutdown script for every process that was started at boot, and can take a minute or two to shutdown. FreeBSD and Dragonfly, as far as I can tell, just kill all processes, flush buffers, unm

Re: shutdown on BSD and Linux

2006-09-07 Thread Oliver Fromme
Rahul Siddharthan <[EMAIL PROTECTED]> wrote: > I've long had a question on the shutdown process. Linux systems run a > separate shutdown script for every process that was started at boot, > and can take a minute or two to shutdown. FreeBSD and Dragonfly, as > far as I can tell, just kill all

shutdown on BSD and Linux

2006-09-07 Thread Rahul Siddharthan
I've long had a question on the shutdown process. Linux systems run a separate shutdown script for every process that was started at boot, and can take a minute or two to shutdown. FreeBSD and Dragonfly, as far as I can tell, just kill all processes, flush buffers, unmount filesystems and shutdow