⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme.filelocking

📁 相当优秀的 UNIX 进程管理工具
💻 FILELOCKING
字号:
Version 4.9.7 Release NotesFILE I/O and LOCKING CODE------------------------------------------------------------------The file i/o locking code has been audited. All code was changed toupdate files by opening the orignal file in read only mode, unlessit is the first time, then create it. Then open a temp file witha .pid extension. Make all the changes to the temp file. Then usethe rename(2) function call to automically move the new file overthe old file. This is similar to how some qmail file modificationis done.No read locks are requested for read only i/o.Write locks are requested for modify i/o.To reduce the locking load on the file system, a lock isnot requested for the .dir-control file. If we miss countinga user during a simulatious user addition, it's not theend of the world. The number of user entry in that fileis not meant to be exact. It is more of a guide line onhow to spread out user directories across the vpopmail 3 level user directory tree.This should reduce the over all file i/o synchronicity requirements. And hence reduce the possiblity of lostfile data (like loosing a complete vpasswd user file!!!)At least we are using the more reliable rename(2) function.

⌨️ 快捷键说明

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