Date: Mon, 3 Aug 2015 09:55:12 -0400 From: Paul Kraus <paul@kraus-haus.org> To: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: USB stick and some help with it. Message-ID: <8778E24F-6299-4773-AB40-B9A2609019EC@kraus-haus.org> In-Reply-To: <55BF6CF9.6080208@bananmonarki.se> References: <55BF6AA0.2030802@bananmonarki.se> <30011532-52BE-4C42-B062-5D1212EBE655@kraus-haus.org> <55BF6CF9.6080208@bananmonarki.se>
next in thread | previous in thread | raw e-mail | index | archive | help
On Aug 3, 2015, at 9:30, Bernt Hansson <bah@bananmonarki.se> 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 <type> /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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8778E24F-6299-4773-AB40-B9A2609019EC>