From owner-freebsd-questions Thu Nov 8 3:39: 6 2001 Delivered-To: freebsd-questions@freebsd.org Received: from pcwin002.win.tue.nl (pcwin002.win.tue.nl [131.155.71.72]) by hub.freebsd.org (Postfix) with ESMTP id 57D1337B405 for ; Thu, 8 Nov 2001 03:39:02 -0800 (PST) Received: (from stijn@localhost) by pcwin002.win.tue.nl (8.11.6/8.11.4) id fA8BcPZ95534; Thu, 8 Nov 2001 12:38:25 +0100 (CET) (envelope-from stijn) Date: Thu, 8 Nov 2001 12:38:25 +0100 From: Stijn Hoop To: Nils Holland Cc: freebsd-questions@freebsd.org Subject: Re: dd and cat - Did I miss something? Message-ID: <20011108123825.E94394@pcwin002.win.tue.nl> References: <20011108121412.Q515-100000@jodie.ncptiddische.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011108121412.Q515-100000@jodie.ncptiddische.net>; from nils@tisys.org on Thu, Nov 08, 2001 at 12:16:57PM +0100 X-Bright-Idea: Let's abolish HTML mail! 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, 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... --Stijn -- In the force if Yoda's so strong, construct a sentence with words in the proper order then why can't he? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message