bsd, het echt vrije open source os
DESCRIPTION
Een korte introductie van (free)BSD, op 'LInux wereld' 2009. Door Albert Mietus. De BSD open-source OS'en heb een groot voordeel tov Linux: de licentie. Vooral voor embedded systemen (en R&D afdelingen van embedded/RT/Technische producten) heeft dat voordelen ...TRANSCRIPT
Linux-World 2009
*BSD, het echt vrije OpenSource OS.An non-technical overview of free, open & gratis software. And why you should consider
them to use in your product. Instead of Linux!
Mijn missie:Software Beter Maken Product, Proces, Imago
(C)
Alb
ert
Mie
tus
1
*BSD, het echte vrije OpenSource OS
Tensegrity is a blend of ‘tensional’ and ‘integrity’, a synergy of balanced tension and compression. The poles in a tensegrity-tower seem to float in air.Although they might look confusing, these structures are really very simple. All you need is to be very methodical when building them. It is an architectural principle for sky-high building and an example for SW engineering!
Lin
ux-
Wor
ld 2
00
9
*BSD
, het
ech
t vr
ije
Op
enSo
urc
e O
S.A
n n
on-t
ech
nic
al o
verv
iew
of
free
, op
en &
gr
atis
sof
twar
e. A
nd
wh
y yo
u s
hou
ld
con
sid
er t
hem
to
use
in y
our
pro
du
ct.
Inst
ead
of
Lin
ux!
Mijn missie:Software Beter Maken Product, Proces, Imago
(C)
Alb
ert
Mie
tus
2
About ‘Albert’• Embedded R&D Architect
• Columnist, Writer, Chairman; Trainer, ...
• Open-source, Unix, SW-Development practices & processes
Past, professionalConsultant [PTS]
Embedded QuickStart Linux
R&D Architect [JVH Gaming]
Increase efficiency (twice or triple!)
‘Let go’, due recession
Currently Available for you
OpenSource and similar FreeBSD, GCC, CVS [user]
Rfc3164 (syslog) [assisted] Main focus: ‘embedded’
Nice things Advice Training Research
Nice topics Open-Source Version Control Code-quality Designing ...
• To help YOU
80% 20%
Lin
ux-
Wor
ld 2
00
9
*BSD
, het
ech
t vr
ije
Op
enSo
urc
e O
S.A
n n
on-t
ech
nic
al o
verv
iew
of
free
, op
en &
gr
atis
sof
twar
e. A
nd
wh
y yo
u s
hou
ld
con
sid
er t
hem
to
use
in y
our
pro
du
ct.
Inst
ead
of
Lin
ux!
Mijn missie:Software Beter Maken Product, Proces, Imago
(C)
Alb
ert
Mie
tus
3
History of Unix
Linux
FreeBSD
netBSD
openBSD
Lin
ux-
Wor
ld 2
00
9
*BSD
, het
ech
t vr
ije
Op
enSo
urc
e O
S.A
n n
on-t
ech
nic
al o
verv
iew
of
free
, op
en &
gr
atis
sof
twar
e. A
nd
wh
y yo
u s
hou
ld
con
sid
er t
hem
to
use
in y
our
pro
du
ct.
Inst
ead
of
Lin
ux!
Mijn missie:Software Beter Maken Product, Proces, Imago
(C)
Alb
ert
Mie
tus
4
History of Open/Free Unix• It starts around 1990:
Introduction of i386 The first “cheap” processor with the
power to run Unix (due the MMU)
*BSD inherits from the origin FreeBSD
• Mainstream, great in ‘ports’• Unix of cheap hardware (i386)
netBSD• Runs anything, extremely portable
openBSD• Secure, out of the box
Linux is a (very good) ‘look alike’
Lin
ux-
Wor
ld 2
00
9
*BSD
, het
ech
t vr
ije
Op
enSo
urc
e O
S.A
n n
on-t
ech
nic
al o
verv
iew
of
free
, op
en &
gr
atis
sof
twar
e. A
nd
wh
y yo
u s
hou
ld
con
sid
er t
hem
to
use
in y
our
pro
du
ct.
Inst
ead
of
Lin
ux!
Mijn missie:Software Beter Maken Product, Proces, Imago
(C)
Alb
ert
Mie
tus
5
‘Embedded Unix’ (1)• Traditionally, embedded systems are very,
very, very small and low cost They where usually also ‘real time’ They used special (or non) OS’esExample: remote control, €5 calculator
Things change …• The hw becomes much faster• Systems becomes ‘bigger’ [IPhone]• Everybody uses them (volume) [routers]
A router used to be an expensive embedded device
• Embedded-sw becomes more complexCost reduction only in R&D time!
Embedded Unix is becoming popular• for modern embedded systems (majority)
• Starting around 1996 … 2000, still growing
Lin
ux-
Wor
ld 2
00
9
*BSD
, het
ech
t vr
ije
Op
enSo
urc
e O
S.A
n n
on-t
ech
nic
al o
verv
iew
of
free
, op
en &
gr
atis
sof
twar
e. A
nd
wh
y yo
u s
hou
ld
con
sid
er t
hem
to
use
in y
our
pro
du
ct.
Inst
ead
of
Lin
ux!
Mijn missie:Software Beter Maken Product, Proces, Imago
(C)
Alb
ert
Mie
tus
6
‘Embedded Unix’ (2)Used in very many systems
Routers [often BSD] Firewalls, ‘security’ [same] Multi-media Beamers [HP uses Linux] Navigation [TomTom: Linux] Destop/Servers [Apple uses BSD]
• Both Linux and *BSD• As well as other OS’es• There is no clear ‘leader’
There are some trends• Security: (open)BSD• Hype/media attention: Linux
Pragmatic:• That what you (lead) engineers did know
Lin
ux-
Wor
ld 2
00
9
*BSD
, het
ech
t vr
ije
Op
enSo
urc
e O
S.A
n n
on-t
ech
nic
al o
verv
iew
of
free
, op
en &
gr
atis
sof
twar
e. A
nd
wh
y yo
u s
hou
ld
con
sid
er t
hem
to
use
in y
our
pro
du
ct.
Inst
ead
of
Lin
ux!
Mijn missie:Software Beter Maken Product, Proces, Imago
(C)
Alb
ert
Mie
tus
7
*BSD ‘versions’1. FreeBSD
TinyBSD picoBSD (dead) nanoBSD miniBSD (dead?) pfSense
2. OpenBSD3. NetBSD• Dragon FlyBSD• PC-BSD• DesktopBSD FreeSBIE (dead) openDarwin (dead)1. pureDarwin
They are a bit like ‘distributions’ but aren’t
Lin
ux-
Wor
ld 2
00
9
*BSD
, het
ech
t vr
ije
Op
enSo
urc
e O
S.A
n n
on-t
ech
nic
al o
verv
iew
of
free
, op
en &
gr
atis
sof
twar
e. A
nd
wh
y yo
u s
hou
ld
con
sid
er t
hem
to
use
in y
our
pro
du
ct.
Inst
ead
of
Lin
ux!
Mijn missie:Software Beter Maken Product, Proces, Imago
(C)
Alb
ert
Mie
tus
8
Linux versus *BSD (1)• End-users & programmers
It’s the same! • Only a few technical differences
Same tools/applications (“3th party”)• X/Desktop, gcc, emacs, apache, … • open-source tools typical run on both
– Some commercial tools may differ
– FreeBSD can even run Linux binaries!
• Marketing: Linux “sells”
• Sometimes ‘BSD inside’But: ‘Linux outside’ (meaning: open source)
Hire people?• Other people will respond!
– Linux gives more responds; many “wanabees”
Lin
ux-
Wor
ld 2
00
9
*BSD
, het
ech
t vr
ije
Op
enSo
urc
e O
S.A
n n
on-t
ech
nic
al o
verv
iew
of
free
, op
en &
gr
atis
sof
twar
e. A
nd
wh
y yo
u s
hou
ld
con
sid
er t
hem
to
use
in y
our
pro
du
ct.
Inst
ead
of
Lin
ux!
Mijn missie:Software Beter Maken Product, Proces, Imago
(C)
Alb
ert
Mie
tus
9
Linux versus *BSD (2)• Concept, Philosophy
Kernel versus complete OS• Linux is a kernel only; with GNU/
OpenSource tools
Many “distro’s” versus “well organized”• There is no ‘common Linux’ OS! • BSD variants share common grounds; differ in goal• BSD has 15+ years of version control, for everything!
History:• BSD: Unix background, experience people
– Cheap PC [it started with 386BSD]– Engineering background
• Linux: PC background; young people– Study to MMU capabilities [again: i386]– Driven by enthusiasm (mainly)
Lin
ux-
Wor
ld 2
00
9
*BSD
, het
ech
t vr
ije
Op
enSo
urc
e O
S.A
n n
on-t
ech
nic
al o
verv
iew
of
free
, op
en &
gr
atis
sof
twar
e. A
nd
wh
y yo
u s
hou
ld
con
sid
er t
hem
to
use
in y
our
pro
du
ct.
Inst
ead
of
Lin
ux!
Mijn missie:Software Beter Maken Product, Proces, Imago
(C)
Alb
ert
Mie
tus
10
Linux versus *BSD (3)• Copyright
‘GNU’ GPL versus BSD• GPL(2) is more a statement then a copyright• BSD-copyright is more clear (for lawyers)• No need/risk to give your IP away!
– BSD is ‘more free’ for companies
BSD-Copyright• Basically: “Do not blame us and good luck”• You are allowed to change it• You are allowed to sell it [even unchanged]• You MAY, never MUST distribute the/your source!
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
3. Is deleted4. Neither the name of the University nor the names of its contributors may be used to endorse or
promote products derived from this software without specific prior written permission.
Lin
ux-
Wor
ld 2
00
9
*BSD
, het
ech
t vr
ije
Op
enSo
urc
e O
S.A
n n
on-t
ech
nic
al o
verv
iew
of
free
, op
en &
gr
atis
sof
twar
e. A
nd
wh
y yo
u s
hou
ld
con
sid
er t
hem
to
use
in y
our
pro
du
ct.
Inst
ead
of
Lin
ux!
Mijn missie:Software Beter Maken Product, Proces, Imago
(C)
Alb
ert
Mie
tus
11
Beastie versus Tux As this is ‘Linux-World’, I needed to include at least one tux …
Image-Google: ‘Tux Beastie’, Beastie always wins! (this is the nice one:-)
Lin
ux-
Wor
ld 2
00
9
*BSD
, het
ech
t vr
ije
Op
enSo
urc
e O
S.A
n n
on-t
ech
nic
al o
verv
iew
of
free
, op
en &
gr
atis
sof
twar
e. A
nd
wh
y yo
u s
hou
ld
con
sid
er t
hem
to
use
in y
our
pro
du
ct.
Inst
ead
of
Lin
ux!
Mijn missie:Software Beter Maken Product, Proces, Imago
(C)
Alb
ert
Mie
tus
12
*BSD, the true free OpenSource OS
Conclusions *BSD is less known
• But heavily used by ‘big’ expert-companies – Did I mention ‘hosting’, ‘mail’, …?
• *BSD is also Unix, *BSD is also OpenSource, …• Linux is very similar to *BSD (Techno-historical correct)
*BSD is sound ‘engineered’• Better then Linux. But I’m biased
*BSD’s BSD-copyright is more free• At least for use in commercial devices• Scared of the GPL? Use BSD!
Questions http://www.FreeBSD.org
Also: www.openBSD.org, www.netBSD.org, …
http://d-bug.nl (zombie) NOW, as long as there is time …