home *** CD-ROM | disk | FTP | other *** search
/ GEMini Atari / GEMini_Atari_CD-ROM_Walnut_Creek_December_1993.iso / files / mint / ps0 / readme < prev   
Encoding:
Text File  |  1993-08-03  |  1.5 KB  |  36 lines

  1. ps0 - a simple raw floppy device driver
  2. Written by Dave Gymer and placed in the public domain.
  3.  
  4. Basically, what this program does is to install a character special
  5. device called /dev/ps0 (the name is adjustable) which can be manipulated
  6. almost like a normal file, but whose contents reflect the contents of the
  7. floppy disk in drive A: (also adjustable).
  8.  
  9. There are a few things you can't do with /dev/ps0 that you can with a real
  10. file:
  11.     - delete it (well, you can, but then the device driver is lost and
  12.     must be reloaded)
  13.     - alter it's length (this is fixed at the length of the disk; attempts
  14.     to seek further will silently fail)
  15.     - stat it (again, you can, but you don't get anything useful out)
  16.  
  17. By default, it read double sided, 9 sector/track, 80 track disks in drive A:,
  18. but you can alter all these things in the source and recompile.
  19.  
  20. I wrote this program after buying a 386 PC to run Linux on; the easiest way
  21. to transfer files is via /dev/ps0 on the PC, but there was no MiNT equivalent.
  22. At first I used a program called STraw (ST rawrite) which I knocked up in a
  23. night, but I stupidly went and deleted the source, so I wrote this instead.
  24. Good, huh?
  25.  
  26. You should add a line to your mint.cnf file to install it, along the lines of
  27.     exec c:\mintboot\ps0.tos
  28.  
  29. Quick hint: if you use the GNU fileutils under MiNT, do _not_ use cp to
  30. write files to /dev/ps0, cos it does them a byte at a time! Instead, use
  31. `cat file >/dev/ps0'. Maybe one day Eric Smith will add proper block-special
  32. devices to MiNT. But what do I care? :-) I run Eunuchs! 8^}
  33.  
  34. -- Dave Gymer
  35. dpg@Cs.Nott.AC.UK
  36.