From owner-freebsd-questions Thu Nov 8 5:17:55 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mcqueen.wolfsburg.de (pns.wobline.de [212.68.68.5]) by hub.freebsd.org (Postfix) with ESMTP id C03D237B41E for ; Thu, 8 Nov 2001 05:17:49 -0800 (PST) Received: from colt.ncptiddische.net (ppp-160.wobline.de [212.68.69.168]) by mcqueen.wolfsburg.de (8.11.3/8.11.3/tw-20010821) with ESMTP id fA8DHcS29681; Thu, 8 Nov 2001 14:17:38 +0100 Received: from jodie.ncptiddische.net (jodie.ncptiddische.net [192.168.0.2]) by colt.ncptiddische.net (8.11.6/8.11.6) with ESMTP id fA8DHiD18734; Thu, 8 Nov 2001 14:17:45 +0100 (CET) (envelope-from nils@tisys.org) Received: from jodie.ncptiddische.net (jodie.ncptiddische.net [192.168.0.2]) by jodie.ncptiddische.net (8.11.6/8.11.6) with ESMTP id fA8DI5p01048; Thu, 8 Nov 2001 14:18:05 +0100 (CET) (envelope-from nils@tisys.org) Date: Thu, 8 Nov 2001 14:18:05 +0100 (CET) From: Nils Holland To: Stijn Hoop Cc: freebsd-questions@freebsd.org Subject: Re: dd and cat - Did I miss something? In-Reply-To: <20011108123825.E94394@pcwin002.win.tue.nl> Message-ID: <20011108141503.P1041-100000@jodie.ncptiddische.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 8 Nov 2001, Stijn Hoop wrote: > On Thu, Nov 08, 2001 at 12:16:57PM +0100, Nils Holland wrote: > > Hi folks, > > > > I just wanted to copy a data CD. So I thought I'd first read it out. After > > I had put the CD into my ATAPI CD-ROM drive, I issued the following > > command: > > > > dd if=/dev/acd0a of=cdimage > > > > But it didn't work. I received a message saying "acd0a - Invalid > > Argument". > > > > Next, I tried something different, namely: > > > > cat /dev/acd0a | dd of=cdimage > > > > and that did work! Any clues why my first attempt (only using dd and not > > cat) failed? > > You should use /dev/acd0c - the 'c' partition means the whole disk. CD's > don't have the concept of partitions, so there are no {a,b,...} partitions. > Why the second attempt worked is a mystery to me... Let's make some even bigger mystery out of it: dd if=/dev/acd0c of=cdimage also fails, again with the "acd0c - Unknown Argument" message. Of course, the second method still works after replacing acd0a with acd0c... I'm running 4.4-Stable (as of last Saturday) here, and I think I remember that some time in the past I had no such problems with dd. If anyone has a clue what I'm doing wrong or what's going on here, I'd like to hear about it! Greetings Nils Nils Holland Ti Systems - FreeBSD in Tiddische, Germany http://www.tisys.org * nils@tisys.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message