(2011/04/20 14:34), Gwenhael Le Moine wrote:
# sync; echo 3>  /proc/sys/vm/drop_caches; hibernate
>
>  [1]http://www.linuxinsight.com/proc_sys_vm_drop_caches.html
Đây là drop hay sync?

You should never have to sync manually under normal circumstances if
your system is working properly. (Even though I do sometimes after
unmounting a usb key or a memory card but that's technical
superstition moer than anything else.)

Any call to halt or chutdown or hibernate will sync as part of their work.

I am speechless if you don't mention the version of your kernel.

Basically, the sync(2) command executes the system call sync()

BR,

Nguyen Vu Hung


_______________________________________________
POST RULES : http://wiki.hanoilug.org/hanoilug:mailing_list_guidelines
_______________________________________________
HanoiLUG mailing lists: http://lists.hanoilug.org/
HanoiLUG wiki: http://wiki.hanoilug.org/
HanoiLUG blog: http://blog.hanoilug.org/

Trả lời cho