home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / minix / 4255 < prev    next >
Encoding:
Internet Message Format  |  1992-08-20  |  1.9 KB

  1. Path: sparky!uunet!mcsun!uknet!harrier.ukc.ac.uk!eagle.ukc.ac.uk!mrm1
  2. From: mrm1@ukc.ac.uk (M.R.Mason)
  3. Newsgroups: comp.os.minix
  4. Subject: Re: dosread
  5. Keywords: dosread link (ln).
  6. Message-ID: <1499@eagle.ukc.ac.uk>
  7. Date: 20 Aug 92 21:18:21 GMT
  8. References: <1992Aug18.183026.8428@udel.edu> <8255@sirius.ucs.adelaide.edu.au>
  9. Reply-To: mrm1@ukc.ac.uk (M.R.Mason)
  10. Organization: Computing Lab, University of Kent at Canterbury, UK.
  11. Lines: 48
  12.  
  13. In article <8255@sirius.ucs.adelaide.edu.au> newton@iagu.itd.adelaide.edu.au (Mark Newton) writes:
  14. >In article <1992Aug18.183026.8428@udel.edu> hilander@silver.lcs.mit.edu (Most things are better eaten than forgotten) writes:
  15. >>i do a dosread -a foobar > /tmp/foobar
  16. >>with no luck
  17. >>i have tried to get a file off of the a drive.. no luck
  18. >
  19. >dosread expects a block special device that it is supposed to read from.
  20. >
  21. >So, to read something from drive A:, use a command line like this:
  22. >
  23. >   dosread -a /dev/fd0 foobar > /tmp/foobar
  24. >
  25. >/dev/fd0 corresponds to the A: drive.
  26. >
  27. >If you want to use dosread with a hard disk partition, then you'll have to
  28. >make sure that a block special device exists which has major and minor
  29. >device numbers corresponding to your DOS partition.
  30. >
  31. >   - mark
  32. >
  33. >
  34. >-- 
  35. >------------------------------------------------------------------
  36. >         'Do not expose your LaserWriter to naked flame...'
  37. >newton@iagu.itd.adelaide.edu.au         - Apple LaserWriter Manual
  38. >------------------------------------------------------------------
  39.  
  40.  
  41. I use 
  42.  
  43.     ln /dev/fd0 /dev/dosA
  44.  
  45. This links the drive, then
  46.  
  47. dosread -a A filename 
  48.  
  49. To simply read the file to screen, or
  50.  
  51. dosread -a A filemane > /any directory/filename
  52.  
  53. to copy the file to a minix directory.
  54.  
  55. nb the -a means that your reading an ascii format file.
  56.  
  57. Mark...
  58.  
  59. PS I wrote an email to the original poster of this question, it was a load
  60.    of garbage, sorry, I didn't have my notes to hand and I was in a rush.
  61.