From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1NL5om-0004iC-7T for garchives@archives.gentoo.org; Thu, 17 Dec 2009 02:10:17 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CB250E0CF5 for ; Thu, 17 Dec 2009 02:10:15 +0000 (UTC) Received: from mail-iw0-f201.google.com (mail-iw0-f201.google.com [209.85.223.201]) by pigeon.gentoo.org (Postfix) with ESMTP id A47AEE0B6B for ; Thu, 17 Dec 2009 00:56:08 +0000 (UTC) Received: by iwn39 with SMTP id 39so1046249iwn.32 for ; Wed, 16 Dec 2009 16:56:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=pVQyY09Iyh40+fI+4KJcyAP9fvHdudoO5W4BsPWBN9M=; b=iJZ/hz7PrF/ETdmfWKHBI27t7OdPYRR+6pvPkLLIUh691SWUdEhAd3CpC5gZu9MSnH f2IhoSYC5AYweBYhLRO7YDffcdYDM/UDKvQgck4C2aNWTSOcRvUXUU04QVFWoxIr5DMO qBMAdjneQuDq8lDAc3hTDDFWqEfV8JA5dDAeg= 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 :content-type:content-transfer-encoding; b=HVfZvS3EhNZi/xGu0DHEbVE2eqf/6+q79sYLz80ojIP3RLPvVRiqLidZOBWPNfKf3Z /AykaFKcpy7qzJLt5yvPsvVLjfxLJ4YidbLjyCcQbW7mpk/9PmbZxF78REpGlLB4OrXO ZSrOP1yL7qCpHeNTvoF03UywYJ5otfW4/s83w= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.231.6.79 with SMTP id 15mr1647053iby.36.1261011367781; Wed, 16 Dec 2009 16:56:07 -0800 (PST) In-Reply-To: <4B296EF1.70304@gmail.com> References: <49bf44f10912161049v3768a3f8m60dddbae4b8777b@mail.gmail.com> <200912161924.42896.michaelkintzios@gmail.com> <4B296EF1.70304@gmail.com> Date: Wed, 16 Dec 2009 19:56:07 -0500 Message-ID: Subject: Re: [gentoo-user] {OT} Preparing a laptop for sale From: Joshua Murphy To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 61b45f3c-1b1b-4177-bdd0-0e8400ee64e0 X-Archives-Hash: ede2940fe89196be899115119011a107 On Wed, Dec 16, 2009 at 6:36 PM, Dale wrote: > Mick wrote: >> >> On Wednesday 16 December 2009 18:49:07 Grant wrote: >> >>> >>> I'm about to sell my old laptop and I'd like to wipe out the data and >>> install any flavor of Linux via USB (the CD drive doesn't work any >>> more). =C2=A0I've got a bootable USB key that will get me into Gentoo. = =C2=A0How >>> would you take it from there? =C2=A0I'm looking for something quick and >>> easy. =C2=A0My data isn't too sensitive, but I'd like to do some type o= f >>> wiping so it isn't all just sitting there with a deleted flag or >>> however that works. >>> >> >> First I'd mount the partitions and then emerge/use shred: >> >> # shred -v -n 25 -z -u /mnt/a_partition >> >> Then I would delete old partitions, create new partitions and format the= m >> as required. =C2=A0If you're really paranoid about your data (which from= what >> you're telling me you're not) you can also use dd to randomly overwrite >> partition tables, but I would probably not bother. >> >> Now, there may be more modern tools to do all this with a single button, >> but I haven't looked into it in any detail. >> >> HTH. >> > > Also note that shred, at least the last I read, doesn't work to well on s= ome > file systems. =C2=A0I know this used to be true for reiserfs and some oth= er > journalized file systems. > > I'm thinking the dd thing may be the best way here. =C2=A0I don't think i= t cares > about file systems when it does its thing. > > Dale > > :-) =C2=A0:-) > That is, of course, when shredding individual files, where the final location and initial locations for them may not wind up being the same place on disk. When 'shredding' a whole partition, though, the file system itself ceases to matter, as it in itself is being overwritten as well as all the data it provides a means of indexing for. Incidentally, I believe the oft referenced here DBAN uses shred internally, last I looked. --=20 Poison [BLX] Joshua M. Murphy