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

  1. Path: sparky!uunet!ferkel.ucsb.edu!taco!gatech!swrinde!mips!mips!munnari.oz.au!asgard!mjj
  2. From: mjj@mlb.dmt.csiro.au (Murray Jensen)
  3. Newsgroups: comp.unix.bsd
  4. Subject: Re: 2nd drive file ... (Actually wd ESDI problems)
  5. Message-ID: <195@asgard.mlb.dmt.csiro.au>
  6. Date: 16 Aug 92 16:46:50 GMT
  7. References: <16dfmeINN3u7@disaster.Germany.EU.net>
  8. Organization: CSIRO Division of Manufacturing Technology, Melbourne, Australia
  9. Lines: 23
  10.  
  11. From article <16dfmeINN3u7@disaster.Germany.EU.net>, by bs@Germany.EU.net (Bernard Steiner):
  12. > Well, I don't have DOS. However, I noticed that dd'ing off 386bsd pertitions
  13. > will not find all bad blocks, whereas dd'ing off the 'd' 'partition' does.
  14.  
  15. I used the 'c' partition because I have a DOS5 partition and a 386BSD partition
  16. (MS-DOS partitions not BSD partitions), and if I used the 'd' partition I would
  17. be told about bad sectors in the DOS partition, which bad144 can't do anything
  18. about. The 'c' partition covers the 386BSD area only, whereas the 'd' partition
  19. covers the whole disk. 'c' and 'd' are the same if you don't use DOS partitions.
  20.  
  21. > BTW did your kernel actually print out the bad sectors or are you using a
  22. > modified kernel ? If it's the standard thing it does, would you mind
  23. > telling us about any magic flags you gave disklabel.
  24.  
  25. No. I couldn't make the kernel print the errors - that's why you use dd. dd
  26. will tell you how many blocks it read before the error occurred, from this
  27. information and the (BSD) partition table you can work out the sector number
  28. to give to bad144.
  29.                                 Murray...
  30. -- 
  31. Murray Jensen, CSIRO Div of Manufacturing Tech,     Phone: +61 3 487 9263
  32. Locked Bag No. 9, Preston, Vic, 3072, Australia.      Fax: +61 3 484 0878
  33. Internet: mjj@mlb.dmt.csiro.au               ACSnet: mjj@asgard.dmt.oz
  34.