fdec917f9e8c85e01e5fed4617a28be69856ea45
[ikiwiki.git] / docs / user / Comparison_with_Linux.mdwn
1 ## page was renamed from Comparision with Linux\r
2 ## page was renamed from Comparision/Linux\r
3 [[!table  data="""
4 |  **Feature**  |  **DragonFly**  | **Linux**  
5  Distribution formats |  ISO image, pkgsrc, tarballs |  ISO image, rpm, dpkg, tarballs 
6  Distribution Depots | Central repository with mirrors for base, NetBSD mirrors for source packages, several binary package repositories |  Debian: many mirrors; Redhat: central; Ubuntu: central; SUSE: ? 
7  Number of Distributions | one (3 sibs: FreeBSD, NetBSD, OpenBSD; most popular: FreeBSD) | hundreds (most popular: RedHat, Debian (sub-distro: Ubuntu)) 
8  Update methods | git, cvsup, rsync, pkg_add | up2date, apt-get, pacman, emerge, etc. 
9  Xen | not yet | yes 
10  Compiler | gcc 3.4,4.1.2 | gcc 3,4, gcc 3.4, gcc 4.1, gcc 4.2 
11  Firewall | default: pf; other: ipfw2, ipf | default: iptables; other: pf 
12  Livecd | yes (DVD) | yes, many sizes, versions 
13  Kernel SCM | git | git 
14  Default GUI | none (or bare X) | none, kde, gnome, xfce, etc. 
15  File systems | UFS1, MFS, EXT2, FAT (16/32), NTFS (write experimental), HAMMER | EXT2, EXT3, FAT (16/32), NTFS (read-write experimental?), XFS, REISERFS, REISER4, JFS, ZFS, UFS2 
16  Kernel compilable from supplied source? | Yes | Yes (depend on distro) 
17  Predominant Licenses | 3-clause DragonFly, 3-clause BSD, 4-clause BSD, MIT, GPL | GPL, Lesser GPL, MIT, 3-clause BSD? 
18  Commercial Support | Not yet | many; leaders: RedHat, Novell? 
19  Processor Architectures | x86 | x86, AMD64, Sparc, PowerPC, etc 
20  SMP | yes | yes 
21  NUMA | under development | yes (depending on kernel?) 
22  Boot loader | default: bsd boot block; lilo, grub work | default: lilo, grub 
23  Disk partitioning | BSD-style: slices on fdisk'ed partitions | fdisk partitions 
24  Logical volume management | vinum | LVM1, LVM2, 
25  Release schedule | about twice a year (developer-driven) | Redhat: 18 month; Debian: feature-driven; Ubuntu: 6 month; Fedora Core: 6 months; |\r
26 """]]DD:Distribution dependant\r
27 \r
28 ### Advantages over Linux \r
29
30 * BSD licensed\r
31
32 * All you have to do is give credit.\r
33
34 * Except where the 4-clause BSD License is used, of course: BSD License (http://en.wikipedia.org/wiki/BSD_License)\r
35
36 * More control\r
37
38 * You can easily build your own base system / release / live cd.\r
39
40 * The rpm based distros lack that.\r
41
42 * Everything is developed in CVS. And the CVSROOT is available, so that you can download it and commit to your own repository.\r
43
44 * Guaranteed to build from source\r
45
46 * [jail(2)](http://leaf.dragonflybsd.org/cgi/web-man?section#2&commandjail) support\r
47
48 * A jail is a [chroot(2)](http://leaf.dragonflybsd.org/cgi/web-man?section#2&commandchroot) on steroids with low overhead.\r
49
50 * Since jails have their own IP, you can easily setup up Virtual Hosting enviroments on shared servers.\r
51
52 * VKERNELs\r
53
54 * VKERNELs can be compared with UML.\r
55
56 * Many packet filter packages:\r
57
58 * ipf - by Darren Reed\r
59
60 * ipfw2 - the successor to ipfw\r
61
62 * pf - by Daniel Hartmeier and the OpenBSD project, the most flexible, can e.g. match Operating Systems\r
63
64 * SIGINFO signal\r
65
66 * You can send a SIGINFO to a process (e.g. via CTRL-T) and it prints useful information e.g. fsck reports how many percent are done\r
67
68 * Kernel debugger\r
69
70 * CTRL-ALT-ESC in a console gives you a debugger prompt.\r
71
72 * There are non-standard patches for something like that for Linux.\r
73
74 * Debugging via a firewire console is also available, see dconschat(8)\r
75
76 * Linux compatibility\r
77
78 * Since the kernel exposes a Linux ABI, many Linux binaries run natively.\r
79
80 * Integration of gcc 3.x and gcc 4.x\r
81
82 * Easily switch your default compiler by setting the environment variable CCVER to gcc34 or gcc40.\r
83     \r
84      $ CCVER=gcc34 cc -v\r
85      Using built-in specs.\r
86      Configured with: ./configure --prefix#/usr --hosti386-just-dragonflybsd\r
87      Thread model: posix\r
88      gcc version 3.4.3 [DragonFly] (propolice, visibility)\r
89 \r
90 ### Disadvantages compared to Linux \r
91 Most of these disadvantages are curable, not inherent.\r
92 \r
93
94 * Less popular :-) which means fewer developers, testers\r
95
96 * Linux ABI support not complete (actively developed)\r
97
98 * Not all Linux binaries run.\r
99    . e.g. we can't do the new nptl threading, but maybe possible in future.\r
100
101 * No binary driver support from some graphics card companies\r