OpenBSD Journal

u2k15: krw@ on msdosfs fixes, installer cleanup, GPT fdisk, softraid, dhclient

Contributed by pitrh on from the unscramble all the bits dept.

The first report to come in from the newly completed u2k15 hackathon in Berlin is from Ken Westerback (krw@), who writes:

After a roundabout trip via Warsaw and Zurich I arrived in Berlin late on the 22nd, made a brief appearance at the hackroom to ensure I still knew the way (beware the non-euclidean nature of roads in Berlin!), and then slept the sleep of the traveller to be fresh for hacking.

With the network hackers successfully isolated (bar sporadic Hummpa outbreaks) in a smaller room the 'front room' proved to be a productive environment. Occasionally disturbed by vehement arguments on the theme of the hackathon, utf8 support.

I started off by working on a msdosfs bug (renaming a file in the root directory failed) reported by matthieu@. By the time I had repaired some eye searing whitespace and enabled msdosfs to compile with MSDOSFS_DEBUG so I could debug the issue better, a patch had been submitted to bugs@ by Serguey Parkhomovsky. Which I committed. Job well done!

I then cleaned up some historical baggage in a few install.md files (amd64, armish, i386, landisk, macppc, socppc, zaurus) by replacing some here-document scripting of fdisk with the equivalent 'fdisk -i'.

I nuked some disklabel(8) '-b' left-overs by removing support for the disktab(5) 'b0' and 'b1' capabilities, and nuking the d_packname union with boot file pointers from the disklabel itself. And tweaking the manpages appropriately of course.

I spent some time helping stsp@ fix installboot(8) to handle softraid crypto installs, while stoutly maintaining my ignorance of softraid crypto. I failed to see a bug stsp@ introduced, which lead to some hilarity a few days later when I backed out the change at the same time that stsp@ was committing a real fix. Fortunately stsp@ was able to set things right, and installboot(8) now works for softraid crypto setups and non-softraid setups.

Next, I finally committed GPT editing capability to fdisk(8). While aesthetic interaction with the user remains an issue, at least GPT partitioning can now be seen and manipulated without outside tools. The aesthetics will improve! While tweaking the man page I managed to cause mandoc to seg fault. Ingo was appalled and immediately fixed it. Once I remembered to tell him.

Lastly I committed 'domain search' support in dhclient(8) after prodding from Claudio. Which of course means there is now a crying need to add RFC1035 parsing in the dhcpd/dhclient config files. Sigh.

Overall another excellent hackathon. Thanks to stsp@ and the other Berlinians for organizing it and thanks to IN-Berlin for hosting it.

Thanks for the report and the awesome work, Ken!

(Comments are closed)


Comments
  1. By Thomas (109.175.152.0) thomas.3.schmidt@uni-konstanz.de on

    Looking at the hackathons page on the OpenBSD page, there were *three* hackathons in the last *two* months. Even though they were "minor" hackathons I'm really excited and thankful to see so much work begin done right now. Seems to be going pretty well right now for the OpenBSD Foundation!

    Comments
    1. By TOOGAM (TOOGAM) on http://toogam.com and http://cyberpillar.com

      Thank Microsoft.

      I mean it. And thank Facebook while you're at it. Actually, give even bigger thanks to the Core Infrastructure Initiative, as identified by OpenBSD Foundation Contributors. Multiple organizations are behind that Initiative, and multiple other organizations are listed as separate contributors this year. The results are also shown here: OpenBSD Foundation Campaign 2015 shows $30k above budget, and with nearly two months still left in the year, that doesn't count any Christmas-time donations.

      The public records are showing that these organizations have recently done a good thing. Gratitude, for their decision to do that good thing, is appropriate. I'm quite serious when I say this: I am thankful.

      Comments
      1. By Thomas (109.175.152.0) thomas.3.schmidt@uni-konstanz.de on

        > Thank Microsoft.
        >
        > I mean it. And thank Facebook while you're at it.

        I did! I even installed Windows 10 on a machine ;)

Credits

Copyright © - Daniel Hartmeier. All rights reserved. Articles and comments are copyright their respective authors, submission implies license to publish on this web site. Contents of the archive prior to as well as images and HTML templates were copied from the fabulous original deadly.org with Jose's and Jim's kind permission. This journal runs as CGI with httpd(8) on OpenBSD, the source code is BSD licensed. undeadly \Un*dead"ly\, a. Not subject to death; immortal. [Obs.]