[comp.unix.microport] file system check at boot time

john@wa3wbu.UUCP (John Gayman) (09/08/88)

     Is there a way to configure 2.3U to do a file system check at
boot time even if the previous shut-down was normal ?  I know several
systems will prompt you during boot as to wether or not to check file
systems. Any ideas ?  Thanks.

					John


-- 
John Gayman, WA3WBU              |           UUCP: uunet!wa3wbu!john
1869 Valley Rd.                  |           ARPA: john@wa3wbu.uu.net 
Marysville, PA 17053             |           Packet: WA3WBU @ AK3P 

hedrick@athos.rutgers.edu (Charles Hedrick) (09/08/88)

>     Is there a way to configure 2.3U to do a file system check at
>boot time even if the previous shut-down was normal ?  I know several

Take a look at /etc/bcheckrc and /etc/mountall.  The first does the
fsck of root, the second of other file systems.  You can remove the
tests and make them happen all the time, ask the users questions or
whatever else you like.  They're just shell scripts.

jmsully@uport.UUCP (John M. Sully) (09/09/88)

In article <629@wa3wbu.UUCP> john@wa3wbu.UUCP (John Gayman) writes:
>     Is there a way to configure 2.3U to do a file system check at
>boot time even if the previous shut-down was normal ?  

Just modify the startup script /etc/mountall, which does an fsstat to
check the filesystem status and then does an fsck if necessary.

John Sully