home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 595.lha / MountStuff / README.EOO < prev    next >
Text File  |  1990-10-16  |  2KB  |  43 lines

  1.  
  2. Sometimes, when devices do not want to dissapear, or when Assign's have the
  3. same name as a device, or when you want to fake AmigaDOS (or programs), you
  4. wish you had the tools for it. Well here it is.
  5.  
  6. There are three executables:
  7.  
  8. UnMount DEV/a
  9. ReMount DEV/a
  10. IsMount DEV/a
  11.  
  12. The first lets AmigaDOS forget about the given DEV. The device stays in memory,
  13. and programs with current Lock's on it won't notice the 'forget', but new
  14. references are impossible.
  15.  
  16. The second restores the UnMounted device, so that new references can happen
  17. again.
  18.  
  19. The last executable makes only sence in batch-files. It will return an OK (0)
  20. when the given device is mounted. It will return a WARN (5) when the
  21. devices was unmounted, and it will return ERROR (10) when the device
  22. is a pseudo-device, and it will return FAIL (15) when the device was not
  23. locatable. So, make sure the FailAt limit is at least 16 if you do not want
  24. your batchfile to be stopped.
  25.  
  26.  
  27. The sourcefiles are also distributed and have the public domain status. So
  28. do with it what you want.
  29.  
  30.  
  31. The trick with UnMount is that it builds a new list on one of AmigaDOS yet
  32. not used entries. This can mean that it may not work anymore someday, but
  33. at the current improving speed of AmigaDOS it will last sometime.
  34. Maybe you can change it to a saver place?
  35.  
  36.  
  37.                                             Eize Oosting
  38.                                             Godekenheerd 35
  39.                                             9737 MA Groningen (Gr)
  40.                                             The Netherlands
  41.                                             Tel. 050-420744
  42.  
  43.