Re: svn commit: r216823 - head/sbin/shutdown

2011-01-01 Thread Yar Tikhiy
On Sun, Jan 2, 2011 at 1:57 AM, Jilles Tjoelker wrote: > On Fri, Dec 31, 2010 at 02:57:17PM -0700, Warner Losh wrote: >> On 12/31/2010 07:43, Jilles Tjoelker wrote: >> > On Thu, Dec 30, 2010 at 06:06:31PM +, Pawel Jakub Dawidek wrote: >> >> Author: pjd >> >> Date: Thu Dec 30 18:06:31 2010 >> >

Re: svn commit: r216823 - head/sbin/shutdown

2011-01-01 Thread Warner Losh
On 01/01/2011 07:57, Jilles Tjoelker wrote: On Fri, Dec 31, 2010 at 02:57:17PM -0700, Warner Losh wrote: On 12/31/2010 07:43, Jilles Tjoelker wrote: On Thu, Dec 30, 2010 at 06:06:31PM +, Pawel Jakub Dawidek wrote: Author: pjd Date: Thu Dec 30 18:06:31 2010 New Revision: 216823 URL: http://

Re: svn commit: r216823 - head/sbin/shutdown

2011-01-01 Thread Jilles Tjoelker
On Fri, Dec 31, 2010 at 02:57:17PM -0700, Warner Losh wrote: > On 12/31/2010 07:43, Jilles Tjoelker wrote: > > On Thu, Dec 30, 2010 at 06:06:31PM +, Pawel Jakub Dawidek wrote: > >> Author: pjd > >> Date: Thu Dec 30 18:06:31 2010 > >> New Revision: 216823 > >> URL: http://svn.freebsd.org/changes

Re: svn commit: r216823 - head/sbin/shutdown

2010-12-31 Thread Jilles Tjoelker
On Fri, Dec 31, 2010 at 11:31:14PM +0100, Erik Trulsson wrote: > On Fri, Dec 31, 2010 at 07:00:58PM +, Alexander Best wrote: > > another thought: running 'reboot' instead of 'shutdown -r now' *can* cause > > harm to the system, because an important rc.shutdown script wasn't executed. > > howeve

Re: svn commit: r216823 - head/sbin/shutdown

2010-12-31 Thread Alexander Best
On Fri Dec 31 10, Erik Trulsson wrote: > On Fri, Dec 31, 2010 at 07:00:58PM +, Alexander Best wrote: > > [snip] > > > another thought: running 'reboot' instead of 'shutdown -r now' *can* cause > > harm to the system, because an important rc.shutdown script wasn't executed. > > however running

Re: svn commit: r216823 - head/sbin/shutdown

2010-12-31 Thread Erik Trulsson
On Fri, Dec 31, 2010 at 07:00:58PM +, Alexander Best wrote: [snip] > another thought: running 'reboot' instead of 'shutdown -r now' *can* cause > harm to the system, because an important rc.shutdown script wasn't executed. > however running 'shutdown -r now' in single-user mode e.g. will caus

Re: svn commit: r216823 - head/sbin/shutdown

2010-12-31 Thread Warner Losh
On 12/31/2010 07:43, Jilles Tjoelker wrote: On Thu, Dec 30, 2010 at 06:06:31PM +, Pawel Jakub Dawidek wrote: Author: pjd Date: Thu Dec 30 18:06:31 2010 New Revision: 216823 URL: http://svn.freebsd.org/changeset/base/216823 Log: For compatibility with Linux and Solaris add poweroff(8).

Re: svn commit: r216823 - head/sbin/shutdown

2010-12-31 Thread Alexander Best
On Fri Dec 31 10, Erik Trulsson wrote: > On Fri, Dec 31, 2010 at 03:43:08PM +0100, Jilles Tjoelker wrote: > > On Thu, Dec 30, 2010 at 06:06:31PM +, Pawel Jakub Dawidek wrote: > > > Author: pjd > > > Date: Thu Dec 30 18:06:31 2010 > > > New Revision: 216823 > > > URL: http://svn.freebsd.org/chan

Re: svn commit: r216823 - head/sbin/shutdown

2010-12-31 Thread Erik Trulsson
On Fri, Dec 31, 2010 at 03:43:08PM +0100, Jilles Tjoelker wrote: > On Thu, Dec 30, 2010 at 06:06:31PM +, Pawel Jakub Dawidek wrote: > > Author: pjd > > Date: Thu Dec 30 18:06:31 2010 > > New Revision: 216823 > > URL: http://svn.freebsd.org/changeset/base/216823 > > > Log: > > For compatibili

Re: svn commit: r216823 - head/sbin/shutdown

2010-12-31 Thread Jilles Tjoelker
On Thu, Dec 30, 2010 at 06:06:31PM +, Pawel Jakub Dawidek wrote: > Author: pjd > Date: Thu Dec 30 18:06:31 2010 > New Revision: 216823 > URL: http://svn.freebsd.org/changeset/base/216823 > Log: > For compatibility with Linux and Solaris add poweroff(8). > It is implemented as a hard link

Re: svn commit: r216823 - head/sbin/shutdown

2010-12-31 Thread Pawel Jakub Dawidek
On Fri, Dec 31, 2010 at 01:27:04AM +, Alexander Best wrote: > On Thu Dec 30 10, Pawel Jakub Dawidek wrote: > > Author: pjd > > Date: Thu Dec 30 18:06:31 2010 > > New Revision: 216823 > > URL: http://svn.freebsd.org/changeset/base/216823 > > > > Log: > > For compatibility with Linux and Solar

Re: svn commit: r216823 - head/sbin/shutdown

2010-12-30 Thread Alexander Best
On Thu Dec 30 10, Pawel Jakub Dawidek wrote: > Author: pjd > Date: Thu Dec 30 18:06:31 2010 > New Revision: 216823 > URL: http://svn.freebsd.org/changeset/base/216823 > > Log: > For compatibility with Linux and Solaris add poweroff(8). any thoughts on adding a 'shutdown -c' switch for compatibi

svn commit: r216823 - head/sbin/shutdown

2010-12-30 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Dec 30 18:06:31 2010 New Revision: 216823 URL: http://svn.freebsd.org/changeset/base/216823 Log: For compatibility with Linux and Solaris add poweroff(8). It is implemented as a hard link to shutdown(8) and it is equivalent of: # shutdown -p now While I