From owner-freebsd-questions@freebsd.org Mon Aug 3 14:01:10 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 594CB9B2336 for ; Mon, 3 Aug 2015 14:01:10 +0000 (UTC) (envelope-from paul@kraus-haus.org) Received: from mail-qg0-f45.google.com (mail-qg0-f45.google.com [209.85.192.45]) (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 2381E930 for ; Mon, 3 Aug 2015 14:01:10 +0000 (UTC) (envelope-from paul@kraus-haus.org) Received: by qgii95 with SMTP id i95so88696910qgi.2 for ; Mon, 03 Aug 2015 07:01:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:content-transfer-encoding:message-id:references:to; bh=j0wxJeJcLxhJO+GUkQybPXBZ099dOBfj2T6nu18UeUs=; b=m/yg/uC8d8WuJpyF5d3ULVNhdUHgpN+R7woEt4jTorkb+bmZnJ4Xwl8PscSnXNX1Lf +uSUdqg9Cmrb+rDAVmX2kM0CV+HiLGN9VRxVuCP9JcdNodf+XErVzyTNx5wqFBYi8OWF PY1jiO4jHQQ8AIfWPcYTjrp91ZBlcFUbucaPU5d/jZcEKWVusRgaM9Fe9jWROpyrDz2D rB3UkujsiYBZ6bQ3GabMawe/9wxDZ27y0kPV+gacrmIv3feYgSjCj3hKP9v8kjE8GZbI KzgwZqVCUIGJfKvlQNOuZrTsYemjKTn52GvPPBWGxSrtAQw++dG7WMjqMWu+nuVQsCwF q9uw== X-Gm-Message-State: ALoCoQmuhtun3gA94CvVDC2kiPvAgsspNYY7GF8KtnQb/X1RoVa5XdZGhNwfQlBq1Mjvhb/zQekz X-Received: by 10.140.28.244 with SMTP id 107mr14890954qgz.16.1438610114931; Mon, 03 Aug 2015 06:55:14 -0700 (PDT) Received: from mbp-1.thecreativeadvantage.com (mail.thecreativeadvantage.com. [96.236.20.34]) by smtp.gmail.com with ESMTPSA id g33sm6902126qgg.4.2015.08.03.06.55.13 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 03 Aug 2015 06:55:14 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: USB stick and some help with it. From: Paul Kraus In-Reply-To: <55BF6CF9.6080208@bananmonarki.se> Date: Mon, 3 Aug 2015 09:55:12 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: <8778E24F-6299-4773-AB40-B9A2609019EC@kraus-haus.org> References: <55BF6AA0.2030802@bananmonarki.se> <30011532-52BE-4C42-B062-5D1212EBE655@kraus-haus.org> <55BF6CF9.6080208@bananmonarki.se> To: FreeBSD Questions X-Mailer: Apple Mail (2.1878.6) 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: Mon, 03 Aug 2015 14:01:10 -0000 On Aug 3, 2015, at 9:30, Bernt Hansson wrote: > On 2015-08-03 15:25, Paul Kraus wrote: >=20 >> gpart add gpt /dev/da1 >=20 > Thank you. But i only get this; >=20 > gpart add gpt /dev/da1 Sorry, too early, not enough coffee gpart create -s gpt /dev/da1=20 That will create a new GPT partition map and should wipe out what is = there. If you really want to overwrite all the data, then add a = partition that fills the entire drive and dd /dev/random to it gpart add -t /dev/da1 The type should be mostly immaterial in this case as you are just using = the partition to allow you to write to the entire drive. I would use = freebsd-ufs. -- Paul Kraus paul@kraus-haus.org