Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Sep 2013 21:30:29 +0800 (SGT)
From:      Patrick Dung <patrick_dkt@yahoo.com.hk>
To:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Question about those special (countdown numbers) at shutdown / sync
Message-ID:  <1378387829.14312.YahooMailNeo@web193501.mail.sg3.yahoo.com>

next in thread | raw e-mail | index | archive | help
Hello!

I am curious about the special (count down numbers) at shutdown / sync.

Those nubmers is like 8 8 8 8 2 1 2 1 0 0 0 0.

Actually what do those numbers mean?

Thanks and regards,
Patrick Dung
From owner-freebsd-questions@FreeBSD.ORG  Thu Sep  5 13:50:43 2013
Return-Path: <owner-freebsd-questions@FreeBSD.ORG>
Delivered-To: freebsd-questions@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTP id D2D33567
 for <freebsd-questions@freebsd.org>; Thu,  5 Sep 2013 13:50:43 +0000 (UTC)
 (envelope-from freebsd@edvax.de)
Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by mx1.freebsd.org (Postfix) with ESMTPS id 952182FEF
 for <freebsd-questions@freebsd.org>; Thu,  5 Sep 2013 13:50:43 +0000 (UTC)
Received: from r56.edvax.de (port-92-195-109-79.dynamic.qsc.de [92.195.109.79])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by mx02.qsc.de (Postfix) with ESMTPS id 9076727DD3;
 Thu,  5 Sep 2013 15:42:24 +0200 (CEST)
Received: from r56.edvax.de (localhost [127.0.0.1])
 by r56.edvax.de (8.14.5/8.14.5) with SMTP id r85DgItS007841;
 Thu, 5 Sep 2013 15:42:19 +0200 (CEST)
 (envelope-from freebsd@edvax.de)
Date: Thu, 5 Sep 2013 15:42:18 +0200
From: Polytropon <freebsd@edvax.de>
To: Patrick Dung <patrick_dkt@yahoo.com.hk>
Subject: Re: Question about those special (countdown numbers) at shutdown /
 sync
Message-Id: <20130905154218.c5e4b358.freebsd@edvax.de>
In-Reply-To: <1378387829.14312.YahooMailNeo@web193501.mail.sg3.yahoo.com>
References: <1378387829.14312.YahooMailNeo@web193501.mail.sg3.yahoo.com>
Organization: EDVAX
X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Cc: "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: Polytropon <freebsd@edvax.de>
List-Id: User questions <freebsd-questions.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions>;
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 05 Sep 2013 13:50:43 -0000

On Thu, 5 Sep 2013 21:30:29 +0800 (SGT), Patrick Dung wrote:
> I am curious about the special (count down numbers) at shutdown / sync.
> 
> Those nubmers is like 8 8 8 8 2 1 2 1 0 0 0 0.
> 
> Actually what do those numbers mean?

Those numbers show you how many buffers have to be synced
until the system is ready to finally shut down and power off.
This makes sure no pending hard disk operations will be
"left and forgotten in memory".

The important text displayed prior to the numbers is:

	Syncing disks, buffers remaining... 

You can find it here: /usr/src/sys/kern/kern_shutdown.c
around line 330 (8-STABLE/i386 here).




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1378387829.14312.YahooMailNeo>