Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Aug 2015 12:01:23 -0500
From:      Adam Vande More <amvandemore@gmail.com>
To:        Quartz <quartz@sneakertech.com>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: USB stick and some help with it. [SOLVED] The usb stick is in the trash now.
Message-ID:  <CA%2BtpaK3Qa%2Bqy%2BvyZ3G8iHs4fLyB=Xr7eeuyHDax3s66_wEdsUg@mail.gmail.com>
In-Reply-To: <55C0E688.3000203@sneakertech.com>
References:  <55BF6AA0.2030802@bananmonarki.se> <55C0084B.4000209@bananmonarki.se> <alpine.BSF.2.20.1508040929270.51177@wonkity.com> <55C0E688.3000203@sneakertech.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Aug 4, 2015 at 11:21 AM, Quartz <quartz@sneakertech.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BtpaK3Qa%2Bqy%2BvyZ3G8iHs4fLyB=Xr7eeuyHDax3s66_wEdsUg>