Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 03 Aug 2015 09:26:28 -0600
From:      jd1008 <jd1008@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: USB stick and some help with it.
Message-ID:  <55BF8824.9050803@gmail.com>
In-Reply-To: <55BF6AA0.2030802@bananmonarki.se>
References:  <55BF6AA0.2030802@bananmonarki.se>

next in thread | previous in thread | raw e-mail | index | archive | help
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"
> .
>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55BF8824.9050803>