[comp.sources.atari.st] v04i044: killdrv -- Add/remove drives from TOS's drive list

koreth@panarthea.ebay.sun.com (Steven Grimm) (12/23/90)

Submitted-by: erlingh@idt.unit.no (Erling Henanger)
Posting-number: Volume 4, Issue 44
Archive-name: killdrv

[Binaries in comp.binaries.atari.st. -sg]

This program can be used to tell tos that certain drives do not exist
(even if they do).
Also the opposite can be done, tell tos that drives exist, even if they 
don't.

I use this program to tell TOS not to bother about my minix-partitions.

USAGE:
        killdrv -c      : will disable drive C:.
        killdrv +q      : will enable  drive Q:.
        killdrv -cde    : will disable drive C: D: and E:.
        
        etc.
        
If no parameters are given to the program, it will start to look for
the file KILLDRV.INF in the root directory.
This file should contain the same parameters as specified from a SHELL.

example:

-de
[EOF]
        should kill drive D: and drive E:.
        
Be sure that there are no leading spaces before the -/+ sign.

That's it. It works fine for me, so I thought maybe someone else
could use it too.

Oh - and rename to killdrv.prg to put it in the auto folder.
src is supplied.

Do whatever you want with it.
Erling Henanger
erlingh@idt.unit.no                              

============================================================================
table
 !"#$%&'()*+,-./0123456789:;<=>?
@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_
begin 644 killdrvs.lzh
M'ZDM;&@Q+;X#  #2!@  NA-T%2  "6MI;&QD<G8N8]_*U_U_7O_ #\/CK.1_z
MP"_Q/WNOIRLSEI8)X-GW2 4^56^KKWUT?@\/>YW;Y]"E21/=7-W'B2?-E4*(y
M@)<ZPLX=:O#<9Y^5(#F%&!?X]?"Q_T,SYR)&88KXFWWG0YM4W]+J]B'KO0]=x
M>!@%,)4>*X8=J"?ZZ(.RK\CI;TT>!O+6T1H@*;$NG^?:5/:+4;&(MQ"@1HVKw
M9J562OM ?QQA65N?/+[98"_G])P'+\PO^>"P=_4D50S:/_DK98&K(6F>-WK?v
M*8=V**$1^=%]G.S'$1&(C^")R-]##>.SI>;!_\YI#D*_\[_,KT &_P;)A2=Yu
M#;^^L_^B6 $7$#T"+DO$7E+N(_J$Q _W[BOM. ;N#CFQ%'L% ZQY\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