From owner-freebsd-current@FreeBSD.ORG Thu Feb 3 15:14:38 2011 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 7F677106566C for ; Thu, 3 Feb 2011 15:14:38 +0000 (UTC) (envelope-from uqs@spoerlein.net) Received: from acme.spoerlein.net (acme.spoerlein.net [IPv6:2a01:4f8:131:23c2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 0C0128FC0A for ; Thu, 3 Feb 2011 15:14:37 +0000 (UTC) Received: from localhost (acme.spoerlein.net [IPv6:2a01:4f8:131:23c2::1]) by acme.spoerlein.net (8.14.4/8.14.4) with ESMTP id p13FEaWG054405 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 3 Feb 2011 16:14:36 +0100 (CET) (envelope-from uqs@spoerlein.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=spoerlein.net; s=dkim200908; t=1296746077; bh=PtaR/xQ2r4TAFALWlUkKc+xMW05Owf+ndWT9/yi8ERY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Transfer-Encoding:In-Reply-To; b=GyBZ+jL9cHyk+8Oc+ZMDxcQ5ZcpZqZHA1j53I7JUg8ZM1aGLos3cbASIPqgcl2igJ 4+jWyfj83oJ4ZlUqXNK4QwUNsaJo9NXhW72Ml3hfxVgmj2lJmb5S7EyJU9CztFAM2O Bdzx5uS17uTU9oMkm/sG1W4A/bQHlXUXuRHu2fjI= Date: Thu, 3 Feb 2011 16:14:36 +0100 From: Ulrich =?utf-8?B?U3DDtnJsZWlu?= To: Xin LI Message-ID: <20110203151436.GO65811@acme.spoerlein.net> Mail-Followup-To: Xin LI , gljennjohn@googlemail.com, freebsd-current@freebsd.org References: <20110202195441.GA39963@freebsd.org> <4D49B8EA.4060904@delphij.net> <20110202210211.GM65811@acme.spoerlein.net> <20110203120723.27025c31@ernst.jennejohn.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-current@freebsd.org Subject: Re: looking for a fast way to dump a dvd to a file on my hdd 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: Thu, 03 Feb 2011 15:14:38 -0000 On Thu, 03.02.2011 at 03:19:44 -0800, Xin LI wrote: > On Thu, Feb 3, 2011 at 3:07 AM, Gary Jennejohn > wrote: > > On Wed, 2 Feb 2011 22:02:11 +0100 > > Ulrich Spörlein wrote: > > > >> On Wed, 02.02.2011 at 12:04:58 -0800, Xin LI wrote: > >> > On 02/02/11 11:54, Alexander Best wrote: > >> > > so far dd(1) with a bs=2048 finished after: > >> > > > >> > > 4676648960 bytes transferred in 1639.108763 secs (2853166 bytes/sec) > >> > > >> > Just curious - how will recoverdisk(1) perform?  I haven't tried it > >> > myself but it uses much larger window which could be faster. > >> > >> +1 for recoverdisk. I hacked it so that it will also cope with media > >> that has weird sectorsizes like 2352 bytes. It is awesome for reading > >> optical media now, thanks to retries, large read requests and the > >> ability to save progress (so you can try the failing sectors in another > >> drive). > >> > > > > And are these hacks available to the general public somewhere? > > I think recoverdisk already support using DIOCGSECTORSIZE to obtain > underlying sector size and I don't think it's really needed to hack > it? I think, maybe uqs@ mean one need to "hack" the CAM subsystem to > make the system believe that DVD have sectorsize of 2352 bytes for > some special purpose backup? Ah, sorry for giving the impression I was holding some patches back. They have already been committed to recoverdisk a long time ago (May 2006). The 2352 sector size is used by audio CDs and mode 2 data CDs, see http://en.wikipedia.org/wiki/CD-ROM . This was also fixed in 2006. Regards, Uli - migrated 99.99999% of data from his CD collection in 2006 and hasn't used optical media since ...