home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / unix / bsd / 9190 < prev    next >
Encoding:
Text File  |  1992-11-22  |  2.2 KB  |  67 lines

  1. Newsgroups: comp.unix.bsd
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!news.columbia.edu!cucbs.chem.columbia.edu!cucbs.chem.columbia.edu!russo
  3. From: russo@cucbs.chem.columbia.edu (Thomas Russo)
  4. Subject: [386BSD] Disklabeling a DOS formatted floppy
  5. Message-ID: <RUSSO.92Nov22145945@cucbs.chem.columbia.edu>
  6. Sender: russo@cucbs.chem.columbia.edu (Thomas Russo)
  7. Organization: Center for Biomolecular Simulation, Department of Chemistry,
  8.     Columbia University
  9. Date: Sun, 22 Nov 1992 19:59:45 GMT
  10. Lines: 55
  11.  
  12. No, I don't want to know how to low-level format a floppy -- I know I
  13. need to do that from DOS.
  14.  
  15. What I WANT to do now is to make a filesystem on a floppy (either 5.25
  16. or 3.5in), just like the dist.fs and fixit.fs floppies have
  17. filesystems, but for the life of me I can't figure out how to do it.
  18. This is what I've tried (some of them based on things I remember
  19. reading here on how to make bootable floppies, which isn't what I
  20. really want to do but hey, I just want to be able to mount a freaking
  21. floppy!):
  22.  
  23. DOS
  24. format a: (that's the 5.25, or b:, the 3.5)
  25.  
  26. 386BSD:
  27.  
  28. 1) newfs /dev/fd0a
  29.  
  30. or
  31.  
  32. 2) disklabel -w fd0a floppy5 
  33.  
  34. or
  35.  
  36. 3) disklabel fd0a > junk -- this once gave me a skeletal disklabel in
  37. junk, but only once.
  38.    disklabel -R fd0a junk /usr/mdec/fdboot /usr/mdec/bootfd
  39.  
  40. or
  41.  
  42. 4) cat /usr/mdec/fdboot /usr/mdec/bootfd > /dev/rfd0a
  43.  
  44. But none of these things do ANYTHING other than give me an error of
  45. the sort "ioctl: TIOCFOOBARBLETCH: device not configured", or "can't
  46. read disk label"
  47.  
  48. I'm confused.
  49.  
  50. I have tried this using DOS formatted diskettes and unformatted
  51. diskettes (even though I knew that wasn't supposed to work), and I
  52. cannot get the damned thing labeled, much less newfs it.
  53.  
  54. What precise steps do I need to take to get a floppy disk to have a
  55. bsd filesystem on it?
  56.  
  57. On another front, I seem to recall someone saying something about how
  58. to get mdir to stop saying "file not found" and to produce a real
  59. directory of the dos floppy, but I didn't save it.  Could someone tell
  60. me why mdir (and mformat) is doing this and what I have to do to stop
  61. it.
  62.  
  63. -- 
  64. Thomas Russo            russo@nile.chem.columbia.edu
  65. Department of Chemistry and Center for Biomolecular Simulation
  66. Columbia University
  67.