Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sync File System command for windows [closed]

Is there an equivalent command on windows for the UNIX/Linux sync command? I need to verify all writes caches have been flushed to disk system wide on an as needed basis. I don't want to disable write caching on the hard drives.

like image 763
Dan Avatar asked Mar 09 '10 19:03

Dan


People also ask

What does sync command do?

The sync command forces an immediate write of all cached data to disk. Run sync if you anticipate the system to be unstable, or the storage device to become suddenly unavailable, and you want to ensure all data is written to disk. Individual files may be synced, or the entire filesystem containing the specified files.

What is Sudo sync?

Doing sudo sync ensures that data that has been written by applications but remains in a memory buffer is flushed to the disk. That's all it does. It does not shut down the system properly and is likely to result in data loss and other mishaps.

What is sync user in Linux?

DESCRIPTION. sync-accounts is a tool for copying account information into the local system's password and group databases, or equivalent, from other systems.

What is syncing Ubuntu?

DESCRIPTION. sync writes any data buffered in memory out to disk. This can include (but is not limited to) modified superblocks, modified inodes, and delayed reads and writes. This must be implemented by the kernel; The sync program does nothing but exercise the sync(2) system call.


1 Answers

There is a similar command available for Windows at http://technet.microsoft.com/sv-se/sysinternals/bb897438(en-us).aspx

like image 63
Anders Abel Avatar answered Oct 26 '22 11:10

Anders Abel