Menu

#12 Initial FreeBSD support

Next_Release
closed
freebsd (1)
5
2022-11-25
2022-11-19
No

Recently, 4Pane had been ported to FreeBSD. It was pretty straightforward for the most part, except where it relies on some GNU/Linux utilities and APIs to manage disks and mounts. I've replaced non-portable calls to getmntent(3) et al. with FreeBSD's native getmntinfo(3) ones. However, full storage support is still lacking, owing to our limited blkid(8) and lsblk(8) functionality and inconsistent naming of different file systems between GNU/Linux and FreeBSD.

You can find the patches here. I've preserved all the original Linux code, just guarded it with #ifdef __linux__.

Discussion

  • David Hart

    David Hart - 2022-11-25

    Recently, 4Pane had been ported to FreeBSD

    I'm delighted to hear that!

    Many thanks for your patches. I've applied them and confirm that they are Linux-safe.

     
  • David Hart

    David Hart - 2022-11-25
    • status: open --> accepted
    • assigned_to: David Hart
     
  • David Hart

    David Hart - 2022-11-25

    Recently, 4Pane had been ported to FreeBSD

    I'm delighted to hear that!

    Many thanks for your patches. I've applied them and confirm that they are Linux-safe.

     
  • David Hart

    David Hart - 2022-11-25
    • status: accepted --> closed
     

Log in to post a comment.