update.8

来自「UNIX v6源代码 这几乎是最经典的unix版本 unix操作系统设计和莱」· 8 代码 · 共 38 行

8
38
字号
.th UPDATE VIII 11/1/73.sh NAMEupdate \*- periodically update the super block.sh SYNOPSIS.bd update.sh DESCRIPTION.it Updateis a program that executesthe.it syncprimitive every 30 seconds.This insures that the file systemis fairly up to date in case of a crash.This command should not be executed directly,but should be executed out of theinitialization shell command file.See sync (II) for details..sh "SEE ALSO"sync (II), init (VIII).sh BUGSWith.it updaterunning,if the CPU ishalted just asthe.it syncis executed,a file system can be damaged.This is partially due to DEC hardware thatwrites zeros when NPR requests fail.A fix would be to have.it "sync"temporarily increment the system time by atleast 30 seconds to trigger the execution of.it update.This would give 30 seconds grace to halt the CPU.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?