From owner-freebsd-questions@FreeBSD.ORG Sun Jul 1 11:19:46 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1876B16A421 for ; Sun, 1 Jul 2007 11:19:46 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from kane.otenet.gr (kane.otenet.gr [195.170.0.77]) by mx1.freebsd.org (Postfix) with ESMTP id 7F7B513C489 for ; Sun, 1 Jul 2007 11:19:45 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from atlantis.dyndns.org (athedsl-88034.home.otenet.gr [87.203.97.48]) by kane.otenet.gr (8.13.8/8.13.8/Debian-3) with ESMTP id l61BJgAJ026446 for ; Sun, 1 Jul 2007 14:19:43 +0300 Message-ID: <46878DCD.8060604@otenet.gr> Date: Sun, 01 Jul 2007 14:19:41 +0300 From: Manolis Kiagias User-Agent: Thunderbird 2.0.0.4 (X11/20070615) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <000301c7bb60$264eee30$0200a8c0@satellite> <200706301739.29249.freebsd@dfwlp.com> <20070701101326.GB63587@slackbox.xs4all.nl> In-Reply-To: <20070701101326.GB63587@slackbox.xs4all.nl> Content-Type: text/plain; charset=ISO-8859-7 Content-Transfer-Encoding: 7bit Subject: Re: backing up dvds X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Jul 2007 11:19:46 -0000 Roland Smith wrote: > On Sat, Jun 30, 2007 at 05:39:29PM -0500, Jonathan Horne wrote: > >> On Saturday 30 June 2007 16:46:36 Dave wrote: >> >>> Hello, >>> I've got a 6.2 box with a dvd writer in it. I want to back up some dvds >>> to iso files so i can recreate the dvds at a later time should it be >>> needed. I can use dvdbackup to backup in to a directory structure, but i'd >>> rather not mount, create the directory, and iso, i'd rather make the iso >>> directly from the dvd. Any pointers on this? >>> Thanks. >>> Dave. >>> >> dd if=/dev/acd0 of=/path/to/filename.iso bs=1024 >> > > That should be bs=2048. > > AFAIK, data CDs and DVDs have 2k blocks: > > slackbox:~/tmp$ dd if=/dev/cd1 of=foo.dvd bs=1024 > dd: /dev/cd1: Invalid argument > 0+0 records in > 0+0 records out > 0 bytes transferred in 0.000146 secs (0 bytes/sec) > > slackbox:~/tmp$ dd if=/dev/cd1 of=foo.dvd bs=2048 > ^C10270+0 records in > 10270+0 records out > 21032960 bytes transferred in 5.096854 secs (4126655 bytes/sec) > > Roland > Roland is right, the blocksize is 2048 bytes. In fact the following page is a very nice read: http://www.troubleshooters.com/linux/coasterless.htm The dd command would do a much more accurate image if you also specify the length. The process is described in the page above.