InterviewSolution
| 1. |
When The System Runs The Fsck And Which Script Invokes It? |
|
Answer» When the system boots, the rc.sysinit SCRIPT runs the fsck on any filesystems marked for checking in /etc/fstab file. If any of these filesystems are markes as dirty or have data in the journal, fsck will attempt to repair them. If it succeeds, the filesystems will be mounted and boot PROCESS continues, else rc.sysinit will run sulogin and will REPORT that fsck NEEDS to be run manually. When the system boots, the rc.sysinit script runs the fsck on any filesystems marked for checking in /etc/fstab file. If any of these filesystems are markes as dirty or have data in the journal, fsck will attempt to repair them. If it succeeds, the filesystems will be mounted and boot process continues, else rc.sysinit will run sulogin and will report that fsck needs to be run manually. |
|