From owner-freebsd-hackers Thu Jun 19 10:13:51 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id KAA06536 for hackers-outgoing; Thu, 19 Jun 1997 10:13:51 -0700 (PDT) Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.50]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id KAA06531 for ; Thu, 19 Jun 1997 10:13:49 -0700 (PDT) Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id KAA22694; Thu, 19 Jun 1997 10:04:33 -0700 From: Terry Lambert Message-Id: <199706191704.KAA22694@phaeton.artisoft.com> Subject: Re: Opus diskettes To: joerg_wunsch@uriah.heep.sax.de-noreply Date: Thu, 19 Jun 1997 10:04:33 -0700 (MST) Cc: freebsd-hackers@freefall.FreeBSD.org In-Reply-To: <19970618211439.NU46112@uriah.heep.sax.de> from "J Wunsch" at Jun 18, 97 09:14:39 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > As Terry Lambert wrote: > > > dd if=/dev/floppy skip=4k conv=swab of=file_without_VTOC > ^^^^^^^ > > This would IMHO skip 4k blocks = 2048 * 512 bytes. Is this what you > want? :-) (The default bs is 512 bytes, and skip is measured in bs.) Sorry; the man page for dd is ambiguous: Where sizes are specified, a decimal number of bytes is expected. If the number ends with a ``b'', ``k'', ``m'' or ``w'', the number is multiplied by 512, 1024 (1K), 1048576 (1M) or the number of bytes in an integer, re- spectively. and it has been a long time since I've had to do this for an OPUS (or 3B1 or 3B2) disk. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.