Date: Thu, 11 Sep 2008 15:53:24 +0100 From: Mike Bristow <mike@urgle.com> To: Michel Talon <talon@lpthe.jussieu.fr> Cc: freebsd-questions@freebsd.org Subject: Re: File system corruption upon reboot with gmirror Message-ID: <20080911145324.GA12995@cheddar.urgle.com> In-Reply-To: <20080911141209.GA21301@lpthe.jussieu.fr> References: <20080911141209.GA21301@lpthe.jussieu.fr>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Sep 11, 2008 at 04:12:09PM +0200, Michel Talon wrote: > Gunther Mayer wrote: > > > > Don't use "reboot", use shutdown -r now. I also had the same problem > > > once > > > (had to get physical access to the box to fix it) and it was because > > > of > > > the "reboot". > > > > > > > Thanks. I guess I'll use shutdown -r now then in future. If it still > > happens then I'll post again... > > What's this stuff? shutdown -r is implemented using reboot. Only when you give it -o. Otherwise it sends a signal to init, and init manages the shutdown. The code you quote is only run if -o is given. -- Shenanigans! Shenanigans! Best of 3! -- Flash
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080911145324.GA12995>