perry@well.UUCP (01/24/87)
Apparently DeleteRamDisk did not upload properly. Here's a second try. Let me explain what DeleteRamDisk does though. Sometimes I've found that the ASDG Recoverable Ram Disk is just too damn recoverable. That is, sometimes I wanted to completely wipe it out so that I could start fresh with a new one. DeleteRamDisk causes the asdg.vdisk.device to corrupt some magic cookies in memory so that *the next time you reset, when you reload the driver* it will say ``uhmm. no disk here - let's make a new one.'' Thus you can continue to use the ram disk after executing DeleteRamDisk up until the next crash or reboot. At that time, a completely empty ram disk will be created. CleanRamDisk causes the asdg.vdisk.device to immediately go through its memory cleaning and compaction routines. The driver would have gone through these routines itself, just later. If you want the ram disk cleaned immed- iately, use CleanRamDisk. As an exercise do the following on a ram disk with about 100 k left in it. (1) ``run'' Sysmon so you can watch memory. (2) Make a copy of some large program (less then the amount of space you have left though). (3) Notice memory disappearing from the free list. (4) Delete the large program copy. (5) Note that the amount of free memory probably stayed the same. (6) Execute CleanRamDisk. (7) Note lots of memory coming back to the free list. (8) Make a copy of the same program again. (9) Memory leaves free list. (10) Delete it again. (11) Free memory probably stayed the same. (12) Do a few ``dir vd0: opt a''s. (13) After a few of these, memory comes back to the free list. This demonstrates a cleaning of the ram disk that was forced in (6) and happened by itself in (12). Perry S. Kivolowitz -----------cut here for uuencoded deleteramdisk-------------- begin 644 DeleteRamDisk M #\P # ( ,-0 ? $ /I ##4[Z RQ# M;W!Y<FEG:'0@,3DX-B!B>2!!4T1'($EN8RX 4&5R<GD@4RX@2VEV;VQO=VET M>BP@05-$1R!);F-O<G!O<F%T960 $]+ !!0D]25 !/2R!4;R!);G9A;&ED M871E(%9$,#H_ !61# Z(%=I;&P@0F4@0VQE86YE9"!$=7)I;F<@3F5X="!2 M97-E= 17)R;W(@("TM("!#;W5L9"!.;W0@06QL;V-A=&4@22]/(%!O<G0 M $5R<F]R("T@0V]U;&0@3F]T($%L;&]C871E($DO3R!297%U97-T !%<G)O M<BX@0V]U;&0G;G0@3W!E;B!!4T1'+E9$:7-K+D1E=FEC90 5D0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%T9CPO.0 6@O M.0 7!.N0 "WA03R Y !9%* Y8 O "\Y !;$ZY +>%!/+RT "$ZY M )$EA/8"!.N0 "V@O.0 71.N0 "_983R M @N>0 31.=4Y=3G5. M50 2.<.("@M AR!B $3KD C20?D %X)$#5R$J$;0RXO !-N!$J2 M9A0C_ , %<</],WP1P3EU.=3 J 3 ?( 9@HO$DZY (]EA/0I)P M &#>2.=P #0!Q, F 4A#QL!(0T)#U(-(0,#!2$!"0-""3-\ #DYU(B\ !"QY M !2$[N_]PB+P $+'D %(3N[_@B(O 0L>0 4A.[O]P+'D %(3N[_ MRDSO 8 !"QY !2$[N_^(L>0 4A.[O_$2.<!!$SO(( #"QY !.$ZN M_Y1,WR" 3G4B;P $+'D $X3N[^/D[Y )<B)O 0L>0 3A.[OYB3E4 M $CG""!(>/__3KD IR6$\H +"\_____V8*< !,WP003EU.=4AY $ 4AX M ").N0 "S!03R1 2H!F#B\$3KD N*6$]P )6T " *%6T #P )%7P M! (0BH #A5$ ]"ITZY +5%A/)4 $$JM AG#"\*3KD ID6$]@#$AJ M !1.N0 "Z983R *8(A.50 +PHD;0 (2JH "F<*+PI.N0 "^A83Q5\ /\ M""5\_____P 4< 0*@ /+P!.N0 "XI83TAX "(O"DZY +<E!/)%].74YU M(F\ !"QY !.$[N_IX@+P $+'D $X3N[^MDY5 !(> P+RT "$ZY * MK%!/3EU.=4Y5 O+0 (3KD KR6$].74YU3E4 "\*2JT "&8(< D7TY= M3G5(>0 ! $O+0 ,3KD LP4$\D0$J 9@1P &#>%7P !0 (-6T #@ 2)6T M" .( I@R$Y5 O"B1M @@"F8&)%].74YU%7P _P ()7S_____ !0E?/__ M__\ &' ,"H $B\ +PI.N0 "W)03V#03OD LV3.\ P $+'D $X3N[_ M.B)O 0L>0 3A.[OXX3OD M:(F\ !"QY !.$[N_MHL>0 3A.[O]\ M3OD MX(F\ !" O @L>0 3A.[O\N("\ !"QY !.$[N_K @;P $+'D M $X3N[^C"!O 0@B%B00J@ !"%( A.=2!O 1,[P(! @B+P 0+'D $X M3N[^1$[Y +UBQY !.")O 0@+P (3N[]V")O 0L>0 3A.[OZ8(F\ M!"QY !.$[N_H8@;P $+'D $X3N[^@$CG #!,[P\ Q,[P / !PL>0 M 41.KOZD3-\, $YU /L - ,P #@@ Y@ .P # MP@ !"0 1& $8@ !'P 5" %; !98 6J %Q@ !?( 7\ M &) !C 96 &> !MX ;H 'C@ !Z8 ?: '\ " 8 M @B (/ "$@ A2 (7@ "(8 C& );@ "8X FT )Q M">P H *#@ "BP I* *6 "HX JB *S "R@ LR + M5@ "W0 O2 80 $ -" #2 V8 -P #H [@ /4 M #V@ ^8 /L $%@ !!X 0L $0 !%H 1V $A@ !(P M 2< $_ !20 4V %2@ !5( 5@ %?@ !8P 6< %I M!; 6X %S@ !=8 7@ %Y@ !>P 8. &% !C@ 8^ & M2@ !EX 9N &@ !H@ :, &D@ !I8 :< &J@ !K( :Z M &P !M8 =Z '@@ ![P ?$ 'S !]0 ?B 'Z@ !_@ M @ (#@ "!8 @< (*@ "#8 A8 (:@ "(P BJ (_ M"0H D8 )(@ "3( D\ )4 "60 EX *:@ "G@ L^ + M3 "V MJ +@@ "Y N> +R "]@ ON +_ # H PD M _( /J 30 0 @__\ & 0 2 #_ M_P 8 ! !, /__ 1@ % %( __\ * M 4 :@ #__P H !0 "2 /__ "@ % M +H __\ * 4 X@ #__P !X !0 $* M @(" @(" @(" P,# P," @(" @(" @(" @(" @(" @()! 0$! 0$! M0$! 0$! 0$ ,# P,# P,# P,0$! 0$! 0 D)"0D)"0$! 0$! 0$! 0$! 0$! M 0$! 0$!0$! 0$! "@H*"@H* @(" @(" @(" @(" @(" @(" @) 0$! ( M #[ H 0 4 * #P !0 D 9 '@ ", H /R #ZP $ /R end