Re: BSD Fragmentation
Lawrence D’Oliveiro <[email protected]>
| Newsgroups | comp.misc |
|---|---|
| Organization | A noiseless patient Spider |
| Message-ID | <[email protected]> |
On Sat, 6 Jun 2026 05:53:26 -0000 (UTC), I wrote:
> One big issue with the BSD variants is that their filesystems are
> not even compatible.
Even developing software to port between BSD variants is not
completely straightforward. Look at this
<https://code.videolan.org/videolan/libdvdread/-/compare/e149111f8f69ef291e4d8c166527257c3c86cea4...337c1519ed6ecdd123b07c56d0aceda169b6ae61>:
#if defined(__linux__) || defined(__GLIBC__)
...
#elif defined(__APPLE__)
...
#elif defined(__NetBSD__)
...
#elif defined(__OpenBSD__)
...
#elif defined(__FreeBSD__) && __FreeBSD_version >= 470000
...
#elif defined(__DragonFly__)
...
#elif defined(__FreeBSD__) || defined(__sun) || defined(__bsdi__) || defined(_WIN32) || defined(__CYGWIN__) || defined(__BEOS__) || defined(__OS2__)
...
All the Linux distros work the same. But every single flavour of BSD
seems to do things differently.