> On 2. Mar 2021, at 13:08, cretin1997 <cretin1...@protonmail.com> wrote:
> 
> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
> On Tuesday, March 2, 2021 3:35 PM, Toomas Soome via openindiana-discuss 
> <openindiana-discuss@openindiana.org> wrote:
>> 
>> Yes, the code of format command is mess (I have been in it more than I would 
>> like to;), also we would need better tooling to handle disk partitioning, 
>> allowing easy scripting etc, something like freebsd gpart has been in my 
>> mind for a long time, but I haven't had time to think about it more…
>> 
>> rgds,
>> toomas
>> 
> 
> Too bad FreeBSD's gpart seemed to depend on FreeBSD's GEOM framework. Porting 
> it from FreeBSD seemed to not easy. Luckily, we have a snapshot of FreeBSD 
> before they switched to GEOM, DragonflyBSD. Do you think DragonflyBSD's gpt 
> tool is easier to port, sir?
> 
> https://man.dragonflybsd.org/?command=gpt&section=8

no, it is not about porting it, but the command line logic and functionality. 
we do have format, fdisk, prtvtoc, fmthard, all doing some subset of tasks and 
even if you can feed some input data, the customization would need awk/sed and 
fancy scripting:D  See /bin/usbgen for example;)

rgds,
toomas
_______________________________________________
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss

Reply via email to