Question about those special (countdown numbers) at shutdown / sync

Polytropon freebsd at edvax.de
Thu Sep 5 13:50:43 UTC 2013


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