home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / unix / dosunde / 266 < prev    next >
Encoding:
Internet Message Format  |  1993-01-25  |  2.1 KB

  1. Xref: sparky comp.unix.dos-under-unix:266 comp.unix.sys5.r4:1390
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!uwm.edu!linac!att!att!dptg!ulysses!allegra!eddie.mit.edu!minya!jc
  3. From: jc@minya.UUCP (John Chambers)
  4. Newsgroups: comp.unix.dos-under-unix,comp.unix.sys5.r4
  5. Subject: Using DOS diskettes on S5R4 (Esix)
  6. Keywords: mcopy mdir mtype
  7. Message-ID: <1410@minya.UUCP>
  8. Date: 25 Jan 93 03:22:14 GMT
  9. Followup-To: poster
  10. Lines: 43
  11.  
  12. As usual, I'm not sure that this is the right newsgroup, but it seemed
  13. to  be  the  closest match in the active file with nonzero numbers, so
  14. ...
  15.  
  16. What I'm trying to do is write some stuff to DOS-readable diskettes on
  17. this  Esix  S5R4  machine.   I even have a diskette here that was just
  18. stuck in a real DOS machine, files copied to it, dir run  on  it,  and
  19. such  nice  things,  which  convinces  me  that  it  has  a  valid DOS
  20. filesystem on it.  But when I stick it  in  the  drive  on  this  S5R4
  21. system and try the "m*" commands, I get things like:
  22.  
  23.     % mdir a:
  24.     Unknown physical format or not a DOS disk
  25.     % mcopy *.* a:
  26.     Unknown physical format or not a DOS disk
  27.  
  28. There's also the "dos*" series of commands:
  29.  
  30.     % dosdir a:
  31.     read_sector(): Read error got 14 vs 30
  32.     % dosformat a:
  33.     Insert new diskette for /dev/rdsk/f0t
  34.     and press <RETURN> when ready 
  35.     Formatting...dosformat: open("/dev/rdsk/f0t", O_RDWR | O_EXCL) failed
  36.  
  37. It appears that there is something very badly wrong here, but none  of
  38. the above seems to contain a clue. In fact, most of the error messages
  39. are outright lies.  Thus, the diskette quite definitely is a DOS disk;
  40. a  real  DOS  system just accepted it without complaint.  As for being
  41. able to open the device, well, ls -l says:
  42.  
  43.     crw-rw-rw-   2 root     sys        1,128 Nov 23 07:36 /dev/rdsk/f0t
  44.  
  45. So.  Does anyone know how I might find out what the @^&^%@&#$% is wrong
  46. here?  TFM sure isn't much help.
  47.  
  48. --
  49. All opinions Copyright (c) 1993 by John Chambers. Inquire for licensing at:
  50. 1-617-647-1813 ...!{bu.edu,harvard.edu,eddie.mit.edu,ruby.ora.com}!minya!jc 
  51. --
  52. Unix trivia question of the day:  What does the following command do:
  53.     find . '*.bak' -exec rm -f {} ';'
  54. Bonus question: Is there any way to undo the damage?
  55.