How much diferrent and compatible is DragonFlyBSD to FreeBSD?

rempas at tutanota.com rempas at tutanota.com
Fri Jan 28 12:39:02 PST 2022


28 Ιαν 2022, 18:56 Από fjwcash at gmail.com:

> DragonFlyBSD is a fork/continuation of FreeBSD 4.x.  A lot has changed in FreeBSD between 5.0 and 13.0, just as a lot has changed in DFly from 1.0 to 6.x.
>
> When it comes to porting userland binaries there's usually not a lot of work required.  They're both POSIX-compatible and provide a lot of the same functionality.  For example, the DFly ports tree is mostly a clone of the FreeBSD ports tree, with just minor changes/patches here and there to make certain things run on DFly.
>
> When it comes to porting kernel level drivers and applications that user kernel services directly, there's a lot of work required.  The biggest differences are in the storage and network subsystems, as FreeBSD 5+ uses GEOM for accessing devices and DFly uses something completely different.  Many of the locking primitives and multithreading support are very different between the two, and the DFly methods appear to be better in many cases.  The IPFW packet filter on DFly is very different from the IPFW packet filter on FreeBSD (different syntax, different features, almost entirely different codebases now).  And so on.  DF;y has the HAMMER1 and HAMMER2 filesystems and volume managers, while FreeBSD has ZFS; they both support UFS, although I'm not sure if DFly still supports SoftUpdates.
>
> It really depends what you want to port, and how deep into the kernel it goes.  The deeper you go, the more differences you'll find.
> -- 
> Freddie Cash
> fjwcash at gmail.com
>
Thanks you! I'm actually a Linux user checking on *BSD and after trying some, DragonFlyBSD has me very very interested! I will deep more into the OS itself and then I'll try to compile a custom kernel which I never did before in any other OS. Btw, if I could ask you, do you know if there is an online reference of the system call table for DragonFlyBSD?



More information about the Users mailing list