home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
595.lha
/
MountStuff
/
README.EOO
< prev
next >
Wrap
Text File
|
1990-10-16
|
2KB
|
43 lines
Sometimes, when devices do not want to dissapear, or when Assign's have the
same name as a device, or when you want to fake AmigaDOS (or programs), you
wish you had the tools for it. Well here it is.
There are three executables:
UnMount DEV/a
ReMount DEV/a
IsMount DEV/a
The first lets AmigaDOS forget about the given DEV. The device stays in memory,
and programs with current Lock's on it won't notice the 'forget', but new
references are impossible.
The second restores the UnMounted device, so that new references can happen
again.
The last executable makes only sence in batch-files. It will return an OK (0)
when the given device is mounted. It will return a WARN (5) when the
devices was unmounted, and it will return ERROR (10) when the device
is a pseudo-device, and it will return FAIL (15) when the device was not
locatable. So, make sure the FailAt limit is at least 16 if you do not want
your batchfile to be stopped.
The sourcefiles are also distributed and have the public domain status. So
do with it what you want.
The trick with UnMount is that it builds a new list on one of AmigaDOS yet
not used entries. This can mean that it may not work anymore someday, but
at the current improving speed of AmigaDOS it will last sometime.
Maybe you can change it to a saver place?
Eize Oosting
Godekenheerd 35
9737 MA Groningen (Gr)
The Netherlands
Tel. 050-420744