fsck:file system check
/etc/default/rcS
# Default settings for the scripts in /etc/rcS.d/
#
# For information about these variables see the rcS(5) manual page.
#
# This file belongs to the "initscripts" package.
# automatically repair filesystems with inconsistencies during boot
FSCKFIX=no
~
/etc/rcS.d/README
The scripts in this directory whose names begin with an 'S' are
executed once when booting the system, even when booting directly into
single user mode.
The scripts are all symbolic links whose targets are located in
/etc/init.d/ .
For more information see /etc/init.d/README.
/etc/init.d/README
/usr/share/doc/debian-policy
/usr/share/doc/sysv-rc directory
describes how the scripts in this directory work, and how the links in the /etc/rc?.d/ directories
influence system startup/shutdown.
RUNLEVEL
linux系统有多个运行级别,0~6、s,

本文介绍了Linux系统中fsck命令用于检查和修复文件系统。fsck可以在启动时自动修复文件系统不一致的问题,其配置可在/etc/default/rcS文件中设置。系统在不同运行级别时,会根据rcN.d目录下的链接文件启动或停止服务。了解如何查看运行级别、切换运行级别,以及使用fsck、df和du等实用工具进行文件系统管理和维护。
最低0.47元/天 解锁文章
1592

被折叠的 条评论
为什么被折叠?



