[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Beginner hint, How to check all file systems?



On Thu, 8 Jan 2004, Tom Mitchell wrote:

> 
> Q: How to force a check of the file systems?
> 
> A: If the file "/forcefsck" exists a file system consistency check
> (fsck) will be forced at the next boot up.
> 
> The command line commands look like:
> 
> 	touch /forcefsck
> 	reboot
> 

I don't know if reboot is a link to shutdown on your system or not.  On 
mine, it is a link to halt.  A much safer approach is to use the command:

#shutdown now -r

to reboot the machine.  The halt command does an immediate er, "halt" (for 
lack of a better word) of the system.  The shutdown command stops 
processes and brings the system down in an orderly fashion. 

Mark

-- 
Door of a plastic surgeon's office: "Hello. Can we pick your nose?"




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]