home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sources / wanted / 3971 < prev    next >
Encoding:
Internet Message Format  |  1992-08-15  |  1.7 KB

  1. Path: sparky!uunet!cis.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!agate!athena!ucbked
  2. From: ucbked@athena (Earl H. Kinmonth)
  3. Newsgroups: comp.sources.wanted
  4. Subject: Re: DOS floppy disk driver for UNIX
  5. Date: 15 Aug 1992 21:19:57 GMT
  6. Organization: Centre for Japanese Studies, Univ. of Sheffield
  7. Lines: 30
  8. Message-ID: <16jsdtINN46s@agate.berkeley.edu>
  9. References: <generous.713743473@nova> <4562@news.duke.edu> <24887@castle.ed.ac.uk>
  10. NNTP-Posting-Host: athena.berkeley.edu
  11. Keywords: dos, unix, driver
  12.  
  13. In article <24887@castle.ed.ac.uk> eonu24@castle.ed.ac.uk (I Reid) writes:
  14. >magidj@cellbio.duke.edu (Jonathan Magid) writes:
  15. >
  16. >>>Does anyone know of where I might find sources for a driver
  17. >>>to read DOS disks from a UNIX machine (preferably BSD and/or
  18. >>>SunOS).  Any pointers/information is appreciated.
  19.  
  20. >Before Dos stuff made it into the Linux kernel everyone was using a package
  21. >called mtools (comp.sources.unix I think) which reads/writes/etc dos format
  22. >floppies and hard disks. The code is a bit freeform for my tastes but you might
  23. >bew able to get enough from it.
  24.  
  25. mtools is a classic case of putting a great deal of work into
  26. something, but not quite doing enough to make a really good
  27. programme.  to note just two problems that can produce the urge
  28. to work mayhem on the author:
  29.  
  30. a) the programmes do not return consistent/useful error codes, so
  31. you cannot rely on their exit status in shell scripts;
  32.  
  33. b) no record locking is implemented, so if you get multiple
  34. copies executing at the same time, you will trash your dos
  35. partition.
  36. >
  37. >Iain
  38.  
  39.  
  40. -- 
  41. earl h. kinmonth, centre for japanese studies, university of sheffield,
  42. sheffield, england s10 2tn  jp1ek@sunc.sheffield.ac.uk
  43.