From owner-freebsd-current@FreeBSD.ORG Wed Aug 19 20:08:11 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 72B71106568B for ; Wed, 19 Aug 2009 20:08:11 +0000 (UTC) (envelope-from stb@lassitu.de) Received: from koef.zs64.net (koef.zs64.net [212.12.50.230]) by mx1.freebsd.org (Postfix) with ESMTP id 13BC58FC59 for ; Wed, 19 Aug 2009 20:08:10 +0000 (UTC) Received: from localhost by koef.zs64.net (8.14.3/8.14.3) with ESMTP id n7JK8881029342 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Wed, 19 Aug 2009 22:08:09 +0200 (CEST) (envelope-from stb@lassitu.de) (authenticated as stb) Message-Id: <9598E097-F552-4E66-B53B-5EA2CDF05E4F@lassitu.de> From: Stefan Bethke To: Drew Tomlinson In-Reply-To: <4A8C5475.3020205@mykitchentable.net> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Date: Wed, 19 Aug 2009 22:08:08 +0200 References: <4A8C5475.3020205@mykitchentable.net> X-Mailer: Apple Mail (2.936) Cc: freebsd-current@freebsd.org Subject: Re: How To Copy DVD to ISO File X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Aug 2009 20:08:11 -0000 Am 19.08.2009 um 21:37 schrieb Drew Tomlinson: > I'm using 8.0-BETA2 and have a SATA DVD drive. I'd like to take a > DVD and create an ISO file from it. I have not done this before on > FreeBSD. > > I've googled and it appears it should be as simple as: > > dd if=/dev/ of=/path/to/ISO > > So I figured out that my DVD drive is seen as /dev/acd0 and verified > that it's accessible with "mount -t 9660 /dev/acd0 /mnt". After > doing so, I can 'ls' files on /mnt. Then I unmounted the drive. > > So to create my ISO, I issued this command: > > dd if=/dev/acd0 of=DVD.iso > > But get this output: > > dd: /dev/acd0: Invalid argument > 0+0 records in > 0+0 records out > 0 bytes transferred in 0.000132 secs (0 bytes/sec) > > I googled some more and thought that loading atapicam.ko might > help. But yet I get the same error when using /dev/cd0. > > So what am I doing wrong? The driver only supports reads of blocksized chunks, so: $ dd if=/dec/acd0 bs=2048 ... should work. Stefan -- Stefan Bethke Fon +49 151 14070811