home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.next.hardware
- 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
- From: vhs@rhein-main.de (Volker Herminghaus-Shirai)
- Subject: Re: Need to view sectors on floppy disk
- Message-ID: <1992Nov6.115617.19615@rhein-main.de>
- Sender: vhs@rhein-main.de (Volker Herminghaus-Shirai)
- Reply-To: vhs@rhein-main.de
- References: <1992Nov4.171057.13733@tds.com>
- Date: Fri, 6 Nov 92 11:56:17 GMT
- Lines: 35
-
- In article <1992Nov4.171057.13733@tds.com> hoskins@tds.com (Lianne Hoskins)
- writes:
- >
- > For security reasons we need to be able to view all of the contents on a
- > NeXT formatted floppy disk.
- >
- > Essentially we want to go sector by sector and be able to view the data in
- > hex and/or ascii form. This is similar to what you might see in Norton or
- > PCTools packages for a PC.
- >
- > Does such an App exist? Is there a fairly easy way to do this from the
- > command line?
-
- From the command line, try
- od -c </dev/rfd0a
- to view as ascii, or
- od -x </dev/rfd0a
- to view as hex, or
- od -s[n] </dev/rfd0a
- to view only null-terminated strings with at least n charactes.
-
- Since I don't have a floppy drive I don't know 100% if /dev/rfd0a is
- the right device, but I'm pretty sure.
-
- The whole thing might be faster if you read with dd instead, thus
- dd if=/dev/rfd0a bs=18K of=- | od -c
- etc.
-
- --
- Volker Herminghaus-Shirai (vhs@rhein-main.de)
-
- Computer industry: Industry in which the number of units sold of any
- given product is inversely proportional to its technical excellence.
- See also: MS-DOS, Windows, IBM-PC, X, QWERTY,
- 80x86, TrueType, Survival of the shittest.
-