From owner-freebsd-questions@freebsd.org Tue Aug 4 17:01:24 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 9B4539B35CE for ; Tue, 4 Aug 2015 17:01:24 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-pa0-x231.google.com (mail-pa0-x231.google.com [IPv6:2607:f8b0:400e:c03::231]) (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 6C85C77 for ; Tue, 4 Aug 2015 17:01:24 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: by padck2 with SMTP id ck2so13093277pad.0 for ; Tue, 04 Aug 2015 10:01:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=hwUTDpQFR2yQl3SlYIJLT52onzxtyJLAtRjEoK/P6jQ=; b=rOIAe36eGg31Qj8l31br3HKPS9dox3BAySamrNOyPNiDIu3AuDZUZ7AAPXeebIVgi2 g6QIBZZiYm53klD0xcFd+gkd2lKTgFqwro2Bjip3ZoFpr3TsYfiBrBk4xGgQ6zK8eUs8 AQP0M2Mbb360ub1bWNgsyq2xiYNJjz79E5Orrivfde58dtTyH7duhg8g26+j4nOE+3s+ VvLKrKQ6pPClnhKj38KHp9FpOMCoFghI6BQdWs2P/Mhxql6DJJZsc4JcT3w1sJanyjNP SGUTktI13phrJUodgs+BK1nujuUV3Bd8ofC8mrhLpOATQTHUosWoNWqobU0qJgV24e2N BRaw== MIME-Version: 1.0 X-Received: by 10.66.142.131 with SMTP id rw3mr3179397pab.141.1438707683553; Tue, 04 Aug 2015 10:01:23 -0700 (PDT) Received: by 10.70.133.169 with HTTP; Tue, 4 Aug 2015 10:01:23 -0700 (PDT) In-Reply-To: <55C0E688.3000203@sneakertech.com> References: <55BF6AA0.2030802@bananmonarki.se> <55C0084B.4000209@bananmonarki.se> <55C0E688.3000203@sneakertech.com> Date: Tue, 4 Aug 2015 12:01:23 -0500 Message-ID: Subject: Re: USB stick and some help with it. [SOLVED] The usb stick is in the trash now. From: Adam Vande More To: Quartz Cc: FreeBSD Questions Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 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 17:01:24 -0000 On Tue, Aug 4, 2015 at 11:21 AM, Quartz wrote: > I have not found a Linux utility similar to gpart >> > > Umm.... you do know that linux has gpart too, right? Like, it's a standard > part of most distros, and it's what GParted Live is based around? > gparted =! gpart && linux gpart =! FreeBSD gpart. > But ignoring that for the moment, there are a bunch of other programs that > do all the same things in basically the same way. For example, "sgdisk -Z > /dev/sda" and "gpart destroy /dev/sda" both nuke the partition information > for a given disk. > > > Some Linux utilities can be useful, but don't reach for them >> until you have tried what is available in FreeBSD. >> > > It's not like FreeBSD has some kind of monopoly GPT stuff or useful disk > utilities, any other *nix OS has pretty much all the same tools. Other OS's don't have tools to control GEOM which is needed for most of the more common classes. GEOM writes it's metadata at the end of the block dev for many things which also conflicts with GPT. This and other metadata conflict issues using either ufs or zfs based filesystems make gpart(8) not only the best tool, in many cases it's the only tool that can do it correctly short of a complete zeroing out of the block dev. -- Adam