Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Aug 2025 22:03:15 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        Braulio Rivas <brauliorivas@protonmail.com>
Cc:        "freebsd-hackers@FreeBSD.org" <freebsd-hackers@freebsd.org>
Subject:   Re: geomman
Message-ID:  <CANCZdfqmW3Qjnnzghzq6fr3Rh1=AEMZYQix2iHmQuMBL31SvAw@mail.gmail.com>
In-Reply-To: <-KqI3I7kGwRdgD8LFQt0wy3RSxpVJwrm_wfsoPzLbWDLKtBeOkNBsZFglUAZbcoq3Z08PJcZgiavuCIfm2KUwSPedVTWMc5wGI-P61zgVxM=@protonmail.com>
References:  <-KqI3I7kGwRdgD8LFQt0wy3RSxpVJwrm_wfsoPzLbWDLKtBeOkNBsZFglUAZbcoq3Z08PJcZgiavuCIfm2KUwSPedVTWMc5wGI-P61zgVxM=@protonmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Mon, Aug 18, 2025, 4:19 PM Braulio Rivas <brauliorivas@protonmail.com>
wrote:

> Hello everyone!
>
> I want to show geomman, a TUI that allows creating partitions and file
> systems (for the moment: UFS, EXT2, 3, 4, FAT16, 32, exFAT, and NTFS). I've
> been working on this for the last few months, and with the help of Robert
> Clausecker and Alfonso Siciliano, we have now published a port.
>
> The port is available on FreshPorts [1]
>
> I would like everyone to give it a try. It is based on sade [2] (the same
> tool in the FreeBSD installer). So I extended sade and added new features
> like copying/pasting partitions, labeling new partitions through glabel,
> and creating more file system types. If you have any questions, you can
> read the README.md [3].
>

Can you do the same with gpt or ufs labels? Glabel is dangerous since once
you label a partition, you can only reference it through the label safely.
Glabel creates a new device/partition that's a little smaller than the
original. The old contents can be corrupted and weird things happen when
you newfs on the original device. Swap with glabel can confuse crash dumps.
And a few other weird edge cases (so it mostly works, but unpredictablely
fails). I'd suggest this tool at least warn that there be dragons around
glabel that aren't there for diskid, gpt or ufs label or any other fs based
label.

Any question, issue, bug, feature request, or feedback is more than
> welcome! Please don't second-guess, and you may open an issue on the repo
> [4], send an email to [5] or [6], or jump into geomman's IRC (libera.chat)
> server #freebsd-geomman [7] (choose whatever you want).
>
> We'll continue adding more features (like complete ZFS handling).
>
> This work is sponsored by Google through Google Summer of Code [8].
>

I'll have to give it a spin.

Warner

>
IBest,
> Braulio Rivas
>
> [1] https://www.freshports.org/sysutils/geomman
> [2] https://man.freebsd.org/cgi/man.cgi?sade
> [3]
> https://gitlab.com/brauliorivas/geomman/-/blob/main/README.md?ref_type=heads
> [4] https://gitlab.com/brauliorivas/geomman
> [5] fuz@FreeBSD.org
> [6] brauliorivas@FreeBSD.org
> [7] ircs://irc.libera.chat/freebsd-geomman
> [8] https://summerofcode.withgoogle.com/programs/2025/projects/AQdl28ee
>
>

[-- Attachment #2 --]
<div dir="auto"><div><br><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Mon, Aug 18, 2025, 4:19 PM Braulio Rivas &lt;<a href="mailto:brauliorivas@protonmail.com">brauliorivas@protonmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello everyone!<br>
<br>
I want to show geomman, a TUI that allows creating partitions and file systems (for the moment: UFS, EXT2, 3, 4, FAT16, 32, exFAT, and NTFS). I&#39;ve been working on this for the last few months, and with the help of Robert Clausecker and Alfonso Siciliano, we have now published a port.<br>
<br>
The port is available on FreshPorts [1] <br>
<br>
I would like everyone to give it a try. It is based on sade [2] (the same tool in the FreeBSD installer). So I extended sade and added new features like copying/pasting partitions, labeling new partitions through glabel, and creating more file system types. If you have any questions, you can read the README.md [3].<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Can you do the same with gpt or ufs labels? Glabel is dangerous since once you label a partition, you can only reference it through the label safely. Glabel creates a new device/partition that&#39;s a little smaller than the original. The old contents can be corrupted and weird things happen when you newfs on the original device. Swap with glabel can confuse crash dumps. And a few other weird edge cases (so it mostly works, but unpredictablely fails). I&#39;d suggest this tool at least warn that there be dragons around glabel that aren&#39;t there for diskid, gpt or ufs label or any other fs based label.</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote gmail_quote_container"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Any question, issue, bug, feature request, or feedback is more than welcome! Please don&#39;t second-guess, and you may open an issue on the repo [4], send an email to [5] or [6], or jump into geomman&#39;s IRC (libera.chat) server #freebsd-geomman [7] (choose whatever you want).<br>
<br>
We&#39;ll continue adding more features (like complete ZFS handling).<br>
<br>
This work is sponsored by Google through Google Summer of Code [8].<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">I&#39;ll have to give it a spin.</div><div dir="auto"><br></div><div dir="auto">Warner</div><div dir="auto"><div class="gmail_quote gmail_quote_container"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"></blockquote></div></div><div dir="auto"><br></div><div dir="auto"></div><div dir="auto"><div class="gmail_quote gmail_quote_container"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">IBest,<br>
Braulio Rivas <br>
<br>
[1] <a href="https://www.freshports.org/sysutils/geomman" rel="noreferrer noreferrer" target="_blank">https://www.freshports.org/sysutils/geomman</a><br>;
[2] <a href="https://man.freebsd.org/cgi/man.cgi?sade" rel="noreferrer noreferrer" target="_blank">https://man.freebsd.org/cgi/man.cgi?sade</a><br>;
[3] <a href="https://gitlab.com/brauliorivas/geomman/-/blob/main/README.md?ref_type=heads" rel="noreferrer noreferrer" target="_blank">https://gitlab.com/brauliorivas/geomman/-/blob/main/README.md?ref_type=heads</a><br>;
[4] <a href="https://gitlab.com/brauliorivas/geomman" rel="noreferrer noreferrer" target="_blank">https://gitlab.com/brauliorivas/geomman</a><br>;
[5] fuz@FreeBSD.org<br>
[6] brauliorivas@FreeBSD.org<br>
[7] ircs://irc.libera.chat/freebsd-geomman<br>
[8] <a href="https://summerofcode.withgoogle.com/programs/2025/projects/AQdl28ee" rel="noreferrer noreferrer" target="_blank">https://summerofcode.withgoogle.com/programs/2025/projects/AQdl28ee</a><br>;
<br>
</blockquote></div></div></div>

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfqmW3Qjnnzghzq6fr3Rh1=AEMZYQix2iHmQuMBL31SvAw>