• Sign in to Neowin Faster!

    Create an account on Neowin to contribute and support the site.

Sign in to follow this  

[FAQ] How is Linux Layered?

Recommended Posts

Shadrack    601

good work mark!

Hopefully these FAQs you've been writing will eliminate some of the repeat questions in the forum!

Thanks!

Share this post


Link to post
Share on other sites
RufioPan    0

An excellent beginner's take on the display layers for Linux/GNU :)

I have some follow up questions though... for example, font rendering is something I would think is handled by the Desktop Environment, but it seems so consistent across all three desktop environments. How is this handled?

Another question -- how difficult is it to start with just the kernel, and build up a system to the Desktop Environment? I assume it is NOT a trivial task :)

Again, great job! Thanks!

Share this post


Link to post
Share on other sites
kjordan2001    243
An excellent beginner's take on the display layers for Linux/GNU  :)

I have some follow up questions though... for example, font rendering is something I would think is handled by the Desktop Environment, but it seems so consistent across all three desktop environments.  How is this handled?

Another question -- how difficult is it to start with just the kernel, and build up a system to the Desktop Environment?  I assume it is NOT a trivial task  :)

Again, great job!  Thanks!

585281741[/snapback]

X handles most of the font tasks, and actually most of the GUI tasks overall. Everything GUI-wise is built up on top of X and implements more features, such as GUI toolkits like GTK and QT. I'm not sure which handles anti-aliasing of fonts, X or the DE, but anti-aliasing seems different for each environment, so it's more than likely the DE.

I'm uncertain what you mean by your second question, whether you mean a base install and building of from there or building from scratch. The former is much easier than the latter, it's mostly just building some packages. The latter is much more involved and requires a lot of work since you're building everything. Check out LFS and look at the book there.

Share this post


Link to post
Share on other sites
Keen    0

Great article! :)

Here I think a word is missing: "The target audience for this is quite likely someone who is considering installing Linux for the first time, or who has installed it recently, but is having ______ understanding the variety of choices."

:ninja:

Share this post


Link to post
Share on other sites
markjensen    98
Here I think a word is missing: "The target audience for this is quite likely someone who is considering installing Linux for the first time, or who has installed it recently, but is having ______ understanding the variety of choices."

585300193[/snapback]

Good catch! (Y) I'll correct that now. :yes:

Such is the advantage of Open Source: Enough eyes, and every problem is shallow (to paraphrase Linus Torvald's quote)

Share this post


Link to post
Share on other sites
GatorV    1

Great FAQ, it covers lots of things about the Linux OS for us newbies on Linux...

Share this post


Link to post
Share on other sites
CJC    0

Great read, very well written. Thanks! :)

Share this post


Link to post
Share on other sites
Djmutik1013    0

Very Good Mark as Always. A very well written faq

Share this post


Link to post
Share on other sites
Capiora    0
The Window Manger: So many choices...

think that ain't quite right too ;) , but it doesn't take away the guide is very helpfull

nice guide :)

Share this post


Link to post
Share on other sites
markjensen    98

Oops. :blush: fixed.

Well, maybe that will be the last typo. ;)

Share this post


Link to post
Share on other sites
EduardValencia    0

interesting thread markjensen :)

Share this post


Link to post
Share on other sites
markjensen    98
interesting thread markjensen  :)

585541731[/snapback]

Thanks. Glad you found it interesting.

This gets asked a lot, and it tough for many newcomers to understand at first.

Share this post


Link to post
Share on other sites
theotherdave    0

Great guide mark, same for the other one's in this FAQ section...

this section is gold-dust, only just started looking at it..

Share this post


Link to post
Share on other sites
Lasker    0

great information Mark, thanks :happy:

Share this post


Link to post
Share on other sites
markjensen    98
Great guide mark, same for the other one's in this FAQ section...

this section is gold-dust, only just started looking at it..

586113058[/snapback]

Thanks. :)

Oh, and several of us Green Mods (fred66, rezza, Armeck and myself) have been working at getting the HOWTO & FAQs moved out to be more visible. Still in the works, though progress seems slow...

Share this post


Link to post
Share on other sites
-Armann-    0

Sweet, good read :)

Share this post


Link to post
Share on other sites
Zickar    0

Good post and does in fact help a lot in Understanding how Linux Works and what setting needs to be changed or adressed to do this or that ... Either way I'm not sure if this is the place to put this but since we are talking about layers I read on Wikipedia that there are Seven layers of an OS !! Right ?? I only counted Six !! And Is this model of WIndow Managers , Kernel , Etc ... apply on all Operating System like WIndows for Example and Leopard and so on

Share this post


Link to post
Share on other sites
markjensen    98
... but since we are talking about layers I read on Wikipedia that there are Seven layers of an OS !! Right ?? I only counted Six !! And Is this model of WIndow Managers , Kernel , Etc ... apply on all Operating System like WIndows for Example and Leopard and so on

I think you mean the OSI model for the seven layers. It has to do with communications, not Operating Systems.

Not sure if that is what you meant... :unsure:

Share this post


Link to post
Share on other sites
Zickar    0
I think you mean the OSI model for the seven layers. It has to do with communications, not Operating Systems.

Not sure if that is what you meant... :unsure:

This is basically it : http://wiki.answers.com/Q/7_layers_of_operating_system

I'm sure I read it on WIkipedia that this model is the seven layers of the operating system : hardware, firmware, kernel, memory manager, input output manager, file manager and application layer

It seems that this is in fact the OSI model also according to Wikipedia , What exactly is this and doesn't it apply to Operating Systems ??

PS : If I'm going off topic please feel free to ignore me , I don't want to derail such a brilliant post

Share this post


Link to post
Share on other sites
The_Decryptor    1,105

OSI = Open Systems Interconnection, it's how different computers talk to each other.

As for the OS, that "layout" seems a bit strange, the memory manager and IO live in the kernel, not on top of it (unless we're talking about microkernel, but they add an extra 20 layers or so), and applications don't run on top of the file manager, they run along side it.

Share this post


Link to post
Share on other sites
hdood    145
It seems that this is in fact the OSI model also according to Wikipedia , What exactly is this and doesn't it apply to Operating Systems ??

It's just someone who's misunderstood and thought the OSI model applies to operating systems. It doesn't, it deals with networking (and in a very academic way, compared to IP which does not follow the OSI model and is more practically designed).

OSI = Open Systems Interconnection, it's how different computers talk to each other.

As for the OS, that "layout" seems a bit strange, the memory manager and IO live in the kernel, not on top of it (unless we're talking about microkernel, but they add an extra 20 layers or so), and applications don't run on top of the file manager, they run along side it.

On Windows (sorry, I know it's a Linux thread) the layers are technically hardware abstraction layer->drivers/kernel (scheduling, synchronization, interrupt/exception handling)->executive (memory, IO, process/thread management, networking, etc)->subsystems->applications. With the exception of the applications, most of this runs in kernel mode, so it's not a microkernel architecture in the sense that everything above the kernel runs in user mode.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.