From owner-freebsd-questions@freebsd.org Tue Aug 4 13:08:03 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BD7349B23D5 for ; Tue, 4 Aug 2015 13:08:03 +0000 (UTC) (envelope-from thms.aurel@gmail.com) Received: from mail-wi0-x22f.google.com (mail-wi0-x22f.google.com [IPv6:2a00:1450:400c:c05::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5E6001DAD for ; Tue, 4 Aug 2015 13:08:03 +0000 (UTC) (envelope-from thms.aurel@gmail.com) Received: by wicgj17 with SMTP id gj17so149635905wic.1 for ; Tue, 04 Aug 2015 06:08:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-type:content-transfer-encoding; bh=kDAlwTg/RAdOTYyy520Bl45KrTYcfHp88YR0x2UUg2w=; b=WnIzX1odrkDahPjreMkXOEaiEOQTaG9D1ydaiuHSbtZBXXVxjD9cNmOWMEd5hm1Y68 +ToRt1jLqoqAnVPjQTC7NpnjWNLP7XVsRgSkJj6y80QYFoEWzD3+JuAblMrp5CcYfnAa 5FnB9/RW/H40xMAiGny2KlUYQpYWaHbub5K3yjVUSrcoXlilp5YWV56Hd3ELboviZZTT myhcAroJbwddqe0nS0DYRCmTtwg2H8zYelwhiRXtkosk3mqKNWZbk3KtW3I6ZnOUmAzO f4MJpPMVOsmCDrzLbmAg9aeru2tX4diuMsNXKTUWuFjnApGBivN7IsCMVEf5Kjf/bMon l+1A== X-Received: by 10.180.39.163 with SMTP id q3mr8172258wik.82.1438693681860; Tue, 04 Aug 2015 06:08:01 -0700 (PDT) Received: from [192.168.0.12] (213-245-68-157.rev.numericable.fr. [213.245.68.157]) by smtp.googlemail.com with ESMTPSA id fq15sm1801039wjc.12.2015.08.04.06.07.58 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 04 Aug 2015 06:07:59 -0700 (PDT) Subject: Re: USB stick and some help with it. To: jd1008 , freebsd-questions@freebsd.org References: <55BF6AA0.2030802@bananmonarki.se> <55BF8824.9050803@gmail.com> From: Thomas AUREL Message-ID: <55C0B922.5080707@gmail.com> Date: Tue, 4 Aug 2015 15:07:46 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 In-Reply-To: <55BF8824.9050803@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Aug 2015 13:08:03 -0000 On 08/03/2015 05:26 PM, jd1008 wrote: > I thought that you need to > > dd if=/dev/zero of=/dev/rda1 ....etc > > And be sure it is NOT mounted at all when you run the dd. > > Note that you must use the raw and not the block device. > > On 08/03/2015 07:20 AM, Bernt Hansson wrote: >> Hello list. >> >> >> Have an old usbstick that i bought 5-6 years ago it's a datatraveler >> 150. >> >> I used dd to transfer a cd image to it and now i can't "clean" it of >> the stick. >> >> Tried dd if=/dev/random of=/dev/da1 bs=1m count=100 but dd just >> taunting me with this: >> >> dd: /dev/da1: Input/output error >> 1+0 records in >> 0+0 records out >> 0 bytes transferred in 65.558710 secs (0 bytes/sec) >> >> After that the led on the stick flashes like it is writing. But i >> don't know if it is writing. >> >> Is it possible to make it pristine again or is it forever lost? >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" >> . >> > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org"