Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!dali.cs.montana.edu!milton!hardy!cyliao From: cyliao@hardy.u.washington.edu (Chun-Yao Liao) Newsgroups: comp.sys.next Subject: A few minor prob left... Message-ID: <9102@milton.u.washington.edu> Date: 12 Oct 90 16:44:31 GMT Sender: news@milton.u.washington.edu Reply-To: cyliao@hardy.acs.washington.edu (Chun-Yao Liao) Organization: University of Washington, Seattle Lines: 119 Hi, I was almost succesful instaling the Wren IV to my CuBE! except I have a little trouble here. During the boot up process, these following line were displayed on the screen (verbose mode) checking disks: /dev/sd0a: file system clean: skipping check /dev/rsd0b: file system clean : skiping check ^^^ how comes that it uses /dev/rsdob instead of /dev/sd0b? (ps, these line sare from memory) Then this /usr/etc/mach-swapon: swapping on /Candy/vm/swapfile (this line is all right) mach_swapon : mach_swapon failed : error 0 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ What does this mean? Now I am running the system from the HD already, but there are a few strange behaviors with swapfile. The swapfile gets something about 17 megs right after I run the terminal right after I login to my own account, me. Can any one help me to fix this out? my fstab /dev/sd0a / 4.3 rw,noquota,noauto 0 1 /dev/sd0b /Candy 4.3 rw,noquota,noauto 0 2 my swaptab /Candy/vm/swapfile lowat=20971520 # 20 Meg low water mark my rc.swap # # This script mounts and initializes the internal swapdisk which we mount # on /tmp. # NEWSWAPPART=/Candy NEWSWAPDIR=$NEWSWAPPART/vm NEWSWAPFILE=$NEWSWAPDIR/swapfile # Find out which device to check. SWAPDEV=`grep $NEWSWAPPART /etc/fstab | awk '{print $1}' \ | sed -e 's/\/dev\///'` # Check for the swapdisk if [ -z "$SWAPDEV" ] then exit 0 fi #--------------------------- useswap=0 if [ $lx=autobootx ] then /usr/etc/fsck -p /dev/r${SWAPDEV} && useswap=1 >/dev/console 2>&1 else useswap=1 fi #========================== # We have a swap disk, set things up to use it. if [ $useswap -eq 1 ] then # Mount the swapdisk /usr/etc/mount $NEWSWAPPART >/dev/console 2>&1 # Set up swapping on it if [ ! -d $NEWSWAPDIR ] then (echo "Creating vm directory on swapdisk") >/dev/console mkdir $NEWSWAPDIR chmod 755 $NEWSWAPDIR fi if [ ! -f $NEWSWAPFILE ] then (echo "Creating swapfile on swapdisk") >/dev/console touch $NEWSWAPFILE chmod 1600 $NEWSWAPFILE fi /usr/etc/mach_swapon -v -o prefer,lowat=16777216 $NEWSWAPFILE >/dev/console 2>&1 # Make sure there is a tmp directory if [ ! -d $NEWSWAPPART/tmp ] then (echo "Creating tmp directory on swapdisk") >/dev/console mkdir $NEWSWAPPART/tmp chmod 1777 $NEWSWAPPART/tmp fi # Point /private/tmp to it if [ ! -h /private/tmp ] then (echo "Linking /private/tmp to $NEWSWAPPART/tmp") \ >/dev/console rm -rf /private/tmp (cd /private; ln -s $NEWSWAPPART/tmp) fi else # Make sure /private/tmp is a directory if [ ! -d /private/tmp ] then (echo "Creating /private/tmp directory") >/dev/console rm -f /private/tmp mkdir /private/tmp chmod 1777 /private/tmp fi fi Thanx for spending all these time following these files! :-) cyliao@wam.umd.edu o NeXT : I put main frame power on two chips. @epsl.umd.edu o people: We put main flame power on two guys. @bagend.eng.umd.edu o :::::::::::::::::::::::::::::::::::::::::::: xxxxx@xxxxx.xxx.xxx (reserved) o RC + Apple // + Classic Music + NeXT = cyliao