home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / next / hardware / 2591 < prev    next >
Encoding:
Text File  |  1992-11-08  |  1.6 KB  |  47 lines

  1. Newsgroups: comp.sys.next.hardware
  2. Path: sparky!uunet!europa.asd.contel.com!emory!sol.ctr.columbia.edu!ira.uka.de!ira.uka.de!smurf.sub.org!incom!orfeo!qb!vhs
  3. From: vhs@rhein-main.de (Volker Herminghaus-Shirai)
  4. Subject: Re: Need to view sectors on floppy disk
  5. Message-ID: <1992Nov6.115617.19615@rhein-main.de>
  6. Sender: vhs@rhein-main.de (Volker Herminghaus-Shirai)
  7. Reply-To: vhs@rhein-main.de
  8. References: <1992Nov4.171057.13733@tds.com>
  9. Date: Fri, 6 Nov 92 11:56:17 GMT
  10. Lines: 35
  11.  
  12. In article <1992Nov4.171057.13733@tds.com> hoskins@tds.com (Lianne Hoskins)  
  13. writes:
  14. > For security reasons we need to be able to view all of the contents on a  
  15. > NeXT formatted floppy disk.
  16. > Essentially we want to go sector by sector and be able to view the data in  
  17. > hex and/or ascii form.  This is similar to what you might see in Norton or  
  18. > PCTools packages for a PC.
  19. > Does such an App exist?  Is there a fairly easy way to do this from the  
  20. > command line?
  21.  
  22. From the command line, try
  23.     od -c </dev/rfd0a
  24. to view as ascii, or
  25.     od -x </dev/rfd0a
  26. to view as hex, or
  27.     od -s[n] </dev/rfd0a
  28. to view only null-terminated strings with at least n charactes.
  29.  
  30. Since I don't have a floppy drive I don't know 100% if /dev/rfd0a is
  31. the right device, but I'm pretty sure.
  32.  
  33. The whole thing might be faster if you read with dd instead, thus
  34.     dd if=/dev/rfd0a bs=18K of=- | od -c
  35. etc.
  36.  
  37. --
  38. Volker Herminghaus-Shirai (vhs@rhein-main.de)
  39.  
  40. Computer industry: Industry in which the number of units sold of any
  41. given product is inversely proportional to its technical excellence.
  42. See also: MS-DOS, Windows, IBM-PC, X, QWERTY,
  43.           80x86, TrueType, Survival of the shittest.
  44.