From owner-freebsd-questions@freebsd.org Wed Aug 5 00:44:29 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 D32B99B314D for ; Wed, 5 Aug 2015 00:44:29 +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 89889B20 for ; Wed, 5 Aug 2015 00:44:29 +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 t750iLp8001388 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 4 Aug 2015 18:44:21 -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 t750iLhT001383; Tue, 4 Aug 2015 18:44:21 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Tue, 4 Aug 2015 18:44:21 -0600 (MDT) From: Warren Block To: Quartz cc: freebsd-questions@freebsd.org Subject: Re: USB stick and some help with it. [SOLVED] The usb stick is in the trash now. In-Reply-To: <55C1079F.5030608@sneakertech.com> Message-ID: References: <55BF6AA0.2030802@bananmonarki.se> <55C0084B.4000209@bananmonarki.se> <55C0E688.3000203@sneakertech.com> <55C1079F.5030608@sneakertech.com> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Tue, 04 Aug 2015 18:44:22 -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: Wed, 05 Aug 2015 00:44:29 -0000 On Tue, 4 Aug 2015, Quartz wrote: >> I thought GParted live was based around parted. > > It is, but I mistakenly thought that [lib]parted was in turn based off of > gpart (it's not). > > >> Okay. Can you point me to a man page or utility distribution with that >> version of gpart for Linux? > > Gparted Live: > gpart v0.2.1 (c) 1999-2001 Michail Brzitwa That is the old utility I found (2001). A Linux version of FreeBSD's gpart would be really nice, but unlikely. > It also has gdisk and sgdisk, which can be slightly more useful in some > situations. When it comes to 'flatlining' a drive, I usually use sgdisk since > the -Z option will blow away all partition schemes and backup headers in one > shot (mbr+gpt+whatever). gpart will do this also, with "destroy -F". And gpart handles other partitioning schemes in addition to MBR and GPT, including BSD labels that many other partition tools do not recognize but are often found on FreeBSD systems. This whole discussion prompted me to upgrade my PXE-boot GParted. It still does not quite do what I want, but can be useful.