文件操作 - xfs_scrub@.service
返回文件管理
返回主菜单
删除本文件
文件: /usr/lib/systemd/system/xfs_scrub@.service
编辑文件内容
[Unit] Description=Online XFS Metadata Check for %I OnFailure=xfs_scrub_fail@%i.service Documentation=man:xfs_scrub(8) [Service] Type=oneshot PrivateNetwork=true ProtectSystem=full ProtectHome=read-only # Disable private /tmp just in case %i is a path under /tmp. PrivateTmp=no AmbientCapabilities=CAP_SYS_ADMIN CAP_FOWNER CAP_DAC_OVERRIDE CAP_DAC_READ_SEARCH CAP_SYS_RAWIO NoNewPrivileges=yes User=nobody IOSchedulingClass=idle CPUSchedulingPolicy=idle Environment=SERVICE_MODE=1 ExecStart=/usr/sbin/xfs_scrub -b -n %I SyslogIdentifier=%N
修改文件时间
将文件时间修改为当前时间的前一年
删除文件