From owner-freebsd-current@FreeBSD.ORG Thu Feb 3 11:50:22 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 1B09410656EF for ; Thu, 3 Feb 2011 11:50:22 +0000 (UTC) (envelope-from delphij@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id D46378FC15 for ; Thu, 3 Feb 2011 11:50:21 +0000 (UTC) Received: by iwn39 with SMTP id 39so991403iwn.13 for ; Thu, 03 Feb 2011 03:50:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=M0pIaVVh3Yo5INOaBQRl2UhBu0dQf6GiyBFvj+Yc9A0=; b=ryxSjGoCKwaRHKbEX0cDyf5pdNLBrp+sqiOfMRCJ89+3/69U7yjRvjF5sdpTAKl+kf LzS660EYbE0xDwQN0wwu8pFWgQePTrSY6RYvEFqIaMd+2eUzkoegKs6Cpj7ZlzfSlAHN ELBc+2eT9HbgLKeux4EJbxFwiGhsKiKyAOMF4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=UCzRsl8Qmh/J6M+ucWmUkNRmdxMVfnzPbpdPZsC6TuJP82PU2BL6vATCj10aNa7JRC zkMFQ9lmAJmCgff+xP41txP2iiPMBr3f/DfSJ/d7x44RGLsjYhwlmPcbarzLYIm/W0OR Y+sNO/XNIxuxnyzLA1FY0vAj/lHPwCyecFHdc= MIME-Version: 1.0 Received: by 10.231.199.19 with SMTP id eq19mr11415853ibb.175.1296731984128; Thu, 03 Feb 2011 03:19:44 -0800 (PST) Received: by 10.231.152.148 with HTTP; Thu, 3 Feb 2011 03:19:44 -0800 (PST) In-Reply-To: <20110203120723.27025c31@ernst.jennejohn.org> References: <20110202195441.GA39963@freebsd.org> <4D49B8EA.4060904@delphij.net> <20110202210211.GM65811@acme.spoerlein.net> <20110203120723.27025c31@ernst.jennejohn.org> Date: Thu, 3 Feb 2011 03:19:44 -0800 Message-ID: From: Xin LI To: gljennjohn@googlemail.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 11:50:22 -0000 On Thu, Feb 3, 2011 at 3:07 AM, Gary Jennejohn wrote: > On Wed, 2 Feb 2011 22:02:11 +0100 > Ulrich Sp=C3=B6rlein 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=3D2048 finished after: >> > > >> > > 4676648960 bytes transferred in 1639.108763 secs (2853166 bytes/sec) >> > >> > Just curious - how will recoverdisk(1) perform? =C2=A0I 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? Cheers, --=20 Xin LI http://www.delphij.net