Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!udel!mmdf From: archer%segin4.segin.fr@relay.prime.com (Vincent Archer) Newsgroups: comp.os.minix Subject: fix to diskcheck(1) Message-ID: <31035@nigel.ee.udel.edu> Date: 20 Sep 90 06:29:37 GMT Sender: mmdf@ee.udel.edu Lines: 54 I reformatted my HD this week-end. After this, I tried to run diskcheck on my Minix partitions. It failed, saying it couldn't purge the disk cache. Of course it couldn't: it does this by reading NR_BUFS from /dev/ram, and I have no ramdisk! So I fixed diskcheck; it will now print a warning, then continue (if you get this warning, you might get wrong results as reads are now cached). While I was fixing the cache code, I improved the cache use: If you use a raw device (like /dev/rh1b - rhd1 for PCs), no cache purging is necessary anymore. And a last cosmetic change: at the end, a \n is printed, leaving the prompt below the status line. table !"#$%&'()*+,-./0123456789:;<=>? @ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_ begin 644 dskchk.cdif.Z M'YV-*@*"<.'B10P7-5Z,>=.F31@W9.:\()-FSIHQ:,J,6>-B3((I==R :!(Fz M#X@8,T#(@*$#I8X:.4[FR %#08N;("A:Q*B1H\;0 1$&x MK4409M[( 2$F#!F^;-YLG),@2!TZ:/3J !$$HDDJ#\NXZ5NGS=878T%D'I'&w MS1@V=L"C0\%*T!P]@Q:-&G3$N6&H=/Z-=G9GT./+IWFv MC)LP;'IO[AS<-H\R:/\-_/:P\V,<4,GN6NK5,.#5VF#Q8RF7,.JO&$^u M9=@6F4/.*>ZFS%_H%EFGD045201[+!T8&0LIR"D808(*"!XQA@@A' G#2F 4,<<*I9!*ZB<6HNMn M;G1D"Z<=6\30A; FS)%"N)/&E@ <5"#<0 ,+-\24J%LXR, "#CA *A:U&)-U+*ITC'MNj MQF3QZZ\(5[],UM!07@PS;1559F["6<87L?)$JZ29_4>$i M@9*]4<<9:&S8841OH9$J8J-EGE&U&E8>)QDNC!B"9K=WRAT(=9I!A[ +A?3[h MAF'>?BL<-'L\-U,Y+TGG#G;"&G^ET#6/J@5P-6""#&#SJ/91[4YPP%P;-I8!S9/$:BIA)C/:I'99R=ZK=5*E:N[L#@C"E/!@4+UV[ R('A1?$b M0RJ CP#<6)#"Q:&\2:=\9DJ>S9CGO#G527I (T+UKI>]^G7O>^$;'R;/5Z?Ta M;0\$[$,:"";UOA@JCWZOY $([I>_^O7O?S%#@0!-5T#DD0&!>%0@ Q?Y0!!$z M<((5O& &P[5!6WX0FB(DX2PSUI](>NQ.LLR7";L9LQ (4CKV"1<*Z> T$5PAy M"%)PPJ^.L!BH28V)='1!X-#5GP2