Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Dec 2011 15:32:17 -0500
From:      David Jackson <djackson452@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: FreeBSD Kernel Internals Documentation
Message-ID:  <CAGy-%2Bi_QW78ezYv22YGUg3UCNa4xWdAnKfPMkQxGBfmmiDjK0g@mail.gmail.com>
In-Reply-To: <CAGy-%2Bi_SatydS_=a_pOVN6uwBfN2rU7kYWy78Ug=Nq=j3WrrAA@mail.gmail.com>
References:  <CAGy-%2Bi-m7hUfrUPKaG6FAiv8cor6%2BWXUW-OwWA=uOAt0yDToag@mail.gmail.com> <201112302138.pBULcZfw076474@mail.r-bonomi.com> <CAO6-GAf=fjs4awwFVYPA2h-UNmA3Oa0-qj%2BPmCE8mi590N618w@mail.gmail.com> <4EFF19A7.2060800@ose.nl> <CAGy-%2Bi_SatydS_=a_pOVN6uwBfN2rU7kYWy78Ug=Nq=j3WrrAA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
An OS should strive to be a better platform for many people, including
techies and non-techies.

A good software design philosophy is that good software  works out of the
box without configuration using reasonable defaults, but, that that the
software should be flexible, very configurable, the user should be able to
configure everything how they need it, but they should not be required to.
This allows the user to configure as much or as little as they want.

Everything should be able to be accomplished with both GUI and CLI, and API.

The entire system should be well understood, well documented and
transparent . Its like a car, its better to have a car that has a spacious
engine compartment and is very well documented in service manuals so that a
car mechanic can easily fix it. While not every user may want  to get under
the hood, a spacious, well documented and easy to fix space under the hood
makes the mechanics job easier of fixing the car. The car being made more
reliable and easier to use as well means that the common driver has fewer
breakdowns. Windows is a terrible OS because its like a car with the entire
engine area sealed in a compartment that can only be opened with the car
manufacturer with a key, so mechanics cannot even repair it.

There is no dount that UNIX is a better design system, due to the fact it
is open and the underlying systems are well understood, well defined and
well known, including due to the Unix philosophy of modularisation of
components.


I am in full agreement with Unix design philosophies and unix conventions.
I definitely oppose any effort to re-invent Unix or break with unix
conventionsand philosophies. It has been said that people who try to
reinvent Unix will do so poorly. I agree. I am very much in favour of
respecting Unix traditions, backwards compatability and conventions. For
instance, supporting the X11 Window System i think is something that we
should always commit to, it is important for compatability and for the
flexibility it provides.

I think tis okay to build additions to the system, but in addition, to the
existing components, not to overthrow existing parts of the system.

Backwards compatability is very important which is why it is important to
respect conventions such as POSIX.

 I think that we can create a GUI front end built on top of the Unix system
that helps manage and configure the underlying Unix system for non-techie
users. This is layered design that gives us both the techie friendliness
and controllability of Unix and a GUI front end over that for non-techies.
No one should be required to use a GUI front end and should be able to
directly edit configuration files if they want and use the rich CLI that
FreeBSD has. This is a philosophy i like of allowing  users to exercise as
much or as little fine control over the system as they want.

An OS can be both techie and non-techie friendly by create GUI layer that
is built over the underlying Unix system where more common features are put
up front in the GUI, and advanced configuration in advanced screens, and
layering the GUI on top of other layers which can be directly accesssed by
techie users if they need to do so. This is the layered design where the
GUI can serve as a front end layer to the underlying Unix system
components. The techie users can directly access these underlying
components if needed.

GUIs as well can serve and be useful to both techie and non techie users,
advanced configuration settings can be placed in advanced screens and so
forth.

A good GUI does not come from having few features, good, useable software
has lots of features and is very flexible. Features should never be
withheld because users are viewed to be too stupid. Good GUI design comes
from good layout and putting more advanced features deeper in the UI, so
they are there if needed.

I think that we should be pragmatic about binary drivers and that it better
to accept and welcome binary drivers from hardware companies. Open source
drivers should of course be developed, then users can use the open source
drivers as they become available, but, until then, they can use the binary
driver, or use a binary driver for more rare and unusual hardware.

I do think that, hardware driver backwards compatability should be provided
perhaps through a compatability layer that can be loaded into the kernel as
a module, and perhaps could be a porting of the IOKit driver system from
Darwin, perhaps even allowing Darwin drivers to be used on FreeBSD. All of
this can go into a kernel module so that if all one uses is native FreeBSD
drivers made for FreeBSDs normal driver API, they won't need to load this
subsystem.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGy-%2Bi_QW78ezYv22YGUg3UCNa4xWdAnKfPMkQxGBfmmiDjK0g>