home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / minix / 4248 < prev    next >
Encoding:
Text File  |  1992-08-19  |  1.7 KB  |  45 lines

  1. Newsgroups: comp.os.minix
  2. Path: sparky!uunet!news.univie.ac.at!email!hp
  3. From: hp@vmars.tuwien.ac.at (Peter Holzer)
  4. Subject: Re: dosread
  5. Message-ID: <1992Aug20.083043.5104@email.tuwien.ac.at>
  6. Sender: news@email.tuwien.ac.at
  7. Nntp-Posting-Host: quasi.vmars.tuwien.ac.at
  8. Organization: Technical University Vienna, Dept. for Realtime Systems, AUSTRIA
  9. References: <1992Aug18.183026.8428@udel.edu> <8255@sirius.ucs.adelaide.edu.au>
  10. Date: Thu, 20 Aug 1992 08:30:43 GMT
  11. Lines: 32
  12.  
  13. newton@iagu.itd.adelaide.edu.au (Mark Newton) writes:
  14.  
  15. >In article <1992Aug18.183026.8428@udel.edu> hilander@silver.lcs.mit.edu (Most things are better eaten than forgotten) writes:
  16. >>i do a dosread -a foobar > /tmp/foobar
  17. >>with no luck
  18. >>i have tried to get a file off of the a drive.. no luck
  19.  
  20. >dosread expects a block special device that it is supposed to read from.
  21.  
  22. >So, to read something from drive A:, use a command line like this:
  23.  
  24. >   dosread -a /dev/fd0 foobar > /tmp/foobar
  25.  
  26. >/dev/fd0 corresponds to the A: drive.
  27.  
  28. What version of dosread are you using? All versions I know (1.3 ...
  29. 1.6.16) do not take the pathname of a block device as their first
  30. argument, but a single letter from which they build the pathname by
  31. prepending /dev/dos to it. So to read something from the A: drive you need a special file
  32. /dev/dosA (with the same major/minor numbers as /dev/fd0 or a link to
  33. /dev/fd0). Then you call
  34.  
  35.     dosread -a a /dev/fd0 foobar > /tmp/foobar
  36.  
  37. (All of this is in the manual, BTW. Is it really that hard to
  38. understand?)
  39.  
  40. -- 
  41. |    _  | Peter J. Holzer                       | Think of it   |
  42. | |_|_) | Technical University Vienna           | as evolution  |
  43. | | |   | Dept. for Real-Time Systems           | in action!    |
  44. | __/   | hp@vmars.tuwien.ac.at                 |     Tony Rand |
  45.