PRBCHECKRC
echo "/etc/bcheckrc: boot check"
# @(#)bcheckrc.sh 1.3
# ***** This file has those commands necessary to check the file system, date,
# and anything else that should be done before mounting the file systems.
trap "" 2
# ***** Auto check file systems, if necessary
while :
do
echo "Do you want to check the file systems? (y or n) \c"
read reply
case "$reply" in
y )
;;
n* )
[Press <CR> continue]
break
;;
* )
echo "Invalid input. Try again."
continue
;;
esac
trap "echo Interrupt" 2
echo "Checking the /dev/rgb0e file system"#
/bin/dfsck /dev/rgb0e
#
trap "" 2
break
done
UTERMINAL
TERMINAL
NEXT
$V1$
PAUSE
PAGETURNER
ENCORE5
ENCORE
BOX
FILE
GO
bcheckrc
SYNTAX
/etc/bcheckrc
FUNCTION
bcheckrc - the primary block checker
script during multi-user initialization.
This shell script normally checks the file system
and all other variables related to it before
mounting that file system.
Let us see a typical bcheckrc file by
using the cat command to look at /etc/bcheckrc.
$PROMPT$
That is correct!
You've got it on the 2nd try.
Good, you understand the concept.
Try cat /etc/bcheckrc
Try cat /etc/bcheckrc
You will be helped this time.
$PROMPT$
FORGET1
$PROMPT$cat /etc/bcheckrc
Observe the result on the terminal!