From owner-freebsd-questions@freebsd.org Tue Aug 4 15:18:05 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 167249B3554 for ; Tue, 4 Aug 2015 15:18:05 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id CD7AC16A9 for ; Tue, 4 Aug 2015 15:18:04 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.15.2/8.15.2) with ESMTPS id t74FI3Qf059500 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 4 Aug 2015 09:18:03 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.15.2/8.15.2/Submit) with ESMTP id t74FI3HF059497; Tue, 4 Aug 2015 09:18:03 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Tue, 4 Aug 2015 09:18:03 -0600 (MDT) From: Warren Block To: jd1008 cc: freebsd-questions@freebsd.org Subject: Re: USB stick and some help with it. In-Reply-To: <55BF8824.9050803@gmail.com> Message-ID: References: <55BF6AA0.2030802@bananmonarki.se> <55BF8824.9050803@gmail.com> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Tue, 04 Aug 2015 09:18:03 -0600 (MDT) 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 15:18:05 -0000 On Mon, 3 Aug 2015, jd1008 wrote: > I thought that you need to > > dd if=/dev/zero of=/dev/rda1 ....etc As far as I know, FreeBSD does not have "rda" devices. Using dd(1) to erase flash devices is generally not a good idea. It causes unnecessary wear to them and messes with TRIM. > And be sure it is NOT mounted at all when you run the dd. Right, that will just cause an error. > Note that you must use the raw and not the block device. On which version of FreeBSD are you finding these raw devices?