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

2013-09-05 Thread Patrick Dung
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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


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

2013-09-05 Thread Polytropon
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, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


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

2013-09-05 Thread Patrick Dung
Thanks for the answer.

That is cool and unique.




 From: Polytropon free...@edvax.de
To: Patrick Dung patrick_...@yahoo.com.hk 
Cc: freebsd-questions@freebsd.org freebsd-questions@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, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org