Question about those special (countdown numbers) at shutdown / sync
Patrick Dung
patrick_dkt at yahoo.com.hk
Thu Sep 5 14:48:37 UTC 2013
Thanks for the answer.
That is cool and unique.
________________________________
From: Polytropon <freebsd at edvax.de>
To: Patrick Dung <patrick_dkt at yahoo.com.hk>
Cc: "freebsd-questions at freebsd.org" <freebsd-questions at freebsd.org>
Sent: Thursday, September 5, 2013 9:42 PM
Subject: Re: Question about those special (countdown numbers) at shutdown / sync
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, ...
More information about the freebsd-questions
mailing list