linux sync
来源:互联网 发布:unity3d obj 文件导入 编辑:程序博客网 时间:2024/06/13 21:18
Description
Flush file system buffers。Synchronize data on disk with memory. Force changed blocks to disk, update the super block. ‘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’ system call. The kernel keeps data in memory to avoid doing (relatively slow) disk reads and writes. This improves performance, but if the computer crashes, data may be lost or the file system corrupted as a result. The ‘sync’ command ensures everything in memory is written to disk.
man sync
NAME sync - flush file system buffersSYNOPSIS sync [OPTION]DESCRIPTION Force changed blocks to disk, update the super block.
强制将内存中的文件缓冲内容写到磁盘。
Example
csdn@linux: ~$ cp -rf x ycsdn@linux: ~$ sync
- linux sync
- linux sync命令
- Linux下sync命令
- linux命令之sync
- linux关机与sync
- linux命令 sync
- 关于linux命令sync
- linux 命令 sync
- linux命令之sync
- linux sync命令
- linux命令之sync
- Linux命令--sync
- Linux命令---sync
- linux命令之sync
- Linux 指令篇:文件系统--sync
- Linux sync命令的作用
- Linux sync命令的作用
- Linux sync命令的作用
- shell-find使用
- 黑马程序员--抽象类和接口
- Android 开源框架Universal-Image-Loader完全解析(一)
- Android0909<十四>(Service、Android线程)
- 注册表查询示例代码
- linux sync
- 我就是一根儿筋 也许问题很简单
- 程序员应该扪心自问的10个问题
- JSP页面中的标签以及内置对象request等
- 批量删除svn隐藏文件
- javaScript: 逻辑运算符
- openlog、syslog和closelog函数
- 单例
- OpenCV Mat数据类型及位数总结