SYNC.8
资源名称:os_source.zip [点击查看]
上传用户:datang2001
上传日期:2007-02-01
资源大小:53269k
文件大小:1k
源码类别:
操作系统开发
开发平台:
C/C++
- .TH SYNC 8
- .SH NAME
- sync - flush the cache to disk
- .SH SYNOPSIS
- fBsyncfR
- .br
- .de FL
- .TP
- \fB\$1\fR
- \$2
- ..
- .de EX
- .TP 20
- \fB\$1\fR
- # \$2
- ..
- .SH OPTIONS
- (none)
- .SH EXAMPLES
- .EX "sync" "Write out all modified cache blocks"
- .SH DESCRIPTION
- .PP
- s-2MINIXs+2
- maintains a cache of recently used disk blocks.
- The
- .I sync
- command writes any modified cache blocks back to the disk.
- This is essential before stopping the system, and should be done before
- running any
- .I a.out
- program that might crash.
- .SH "SEE ALSO"
- .BR sync (2),
- .BR shutdown (8).