[鸟哥笔记]数据同步写入磁盘:sync

本文详细介绍了Linux系统中的sync命令,该命令用于强制将更改的数据块写入磁盘,并更新超级块。文章涵盖了sync命令的语法、选项说明及使用场景,帮助读者更好地理解sync的功能及其在系统维护中的作用。
-bash-3.2$ man sync
SYNC(1)                          User Commands                         SYNC(1)

NAME
       sync - flush file system buffers

SYNOPSIS
       sync [OPTION]

DESCRIPTION
       Force changed blocks to disk, update the super block.

       --help display this help and exit

       --version
              output version information and exit

AUTHOR
       Written by Jim Meyering.

REPORTING BUGS
       Report bugs to <bug-coreutils@gnu.org>.

COPYRIGHT
       Copyright (C) 2008 Free Software Foundation, Inc.  License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
       This is free software: you are free to change and redistribute it.  There is NO WARRANTY, to the extent permitted by law.

SEE ALSO
       sync(2)

       The  full documentation for sync is maintained as a Texinfo manual.  If the info and sync programs are properly installed at your
       site, the command

              info coreutils [1msync invocation

       should give you access to the complete manual.

GNU coreutils 6.12               November 2008                         SYNC(1)

 

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值