LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-19-2008, 03:34 PM   #1
stabu
Member
 
Registered: Mar 2004
Location: dublin IRL
Distribution: Slackv12.1, Slamd64v12.1,Xubuntu v8.10_64, FC8_64
Posts: 438
Blog Entries: 5

Rep: Reputation: 32
in what ways do the structures of linux distros differ from each other?


A requests for links really, not any explanations.

Just in case anybody here has read an article or blog where the structure of different popular linux distibutions are discussed?

I'm referring to how they put files and libraries into the different subdirectories, their startup script style, how they treat defaults, etc.

I guess I'm talking about taking an architectural point of view

I'm going to google right now of course. But I welcome any reading recommendations. Cheers.
 
Old 11-19-2008, 05:04 PM   #2
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
the only one that I know is really different is Gobolinux
http://distrowatch.com/table.php?distribution=gobo

2) Yes I am aware that lots of distros put some files in /lib and others in /usr/lib etc but have no links for you....ditto some put stuff in /usr/bin and others put it in /usr/local/bin and so on

but the structures tend to remain the same.

3) startup scripts AFAIK= Slackware and its derivatives use BSD script styles and the balance use System V or needing a folder for each runlevel

this link goes some way to explain both 2 + 3
http://searchenterpriselinux.techtar...089299,00.html

since you can google I shall let you or others complete your task
 
Old 11-20-2008, 06:43 AM   #3
stabu
Member
 
Registered: Mar 2004
Location: dublin IRL
Distribution: Slackv12.1, Slamd64v12.1,Xubuntu v8.10_64, FC8_64
Posts: 438

Original Poster
Blog Entries: 5

Rep: Reputation: 32
oh well ... not much interest in this post.

Possibly, because it's unimportant. Or maybe, it's not so important, but that it's boring.

Maybe I need to write that webpage myself.
 
Old 11-20-2008, 07:22 AM   #4
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,897

Rep: Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018
Quote:
Originally Posted by stabu View Post
oh well ... not much interest in this post.

Possibly, because it's unimportant. Or maybe, it's not so important, but that it's boring.
More likely, there's just not that much stuff out there to tell you about. Most distributions adhere to the Linux FHS for the most part so they're all pretty much of a muchness.


Best thing to do if you're interested in stuff like this, is just install a few systems on a spare box or in a vm and have a rummage around.

OpenBSD was quite interesting to look at, although I prefer Slackware's hybrid take on bsd style startup scripts to OpenBSD's more traditional bsd approach.

The UNIX filesystem hierarchy has been around for the best part of 40 years now. It's quite amazing really that its still in use today with for the most part, very little change.
 
Old 11-20-2008, 02:02 PM   #5
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
Quote:
Originally Posted by aus9 View Post
the only one that I know is really different is Gobolinux
http://distrowatch.com/table.php?distribution=gobo
Good point...I'd completely forgotten Gobolinux.

Have a look here
http://www.pathname.com/fhs/

anything even vaguely modern should comply ('cept Gobo, of course)
Quote:
3) startup scripts AFAIK= Slackware and its derivatives use BSD script styles and the balance use System V or needing a folder for each runlevel
And SuSE confuses people by being a hybrid of the Slackware style and the more mainstream style.

The only other things I can think of are that some Live CDs and mini-distros tend to go their own way by either copying as much as they can to ram or using unionfs, to try to keep down the overhead of reading slow media. And more distros are trying to parallelise some of the start-up stuff to give a faster boot time.
 
Old 11-20-2008, 03:23 PM   #6
stabu
Member
 
Registered: Mar 2004
Location: dublin IRL
Distribution: Slackv12.1, Slamd64v12.1,Xubuntu v8.10_64, FC8_64
Posts: 438

Original Poster
Blog Entries: 5

Rep: Reputation: 32
hi,

sorry aus9, it looked as if I discounted your reply. I didn't mean to.

I suppose a few quality replies like those given here is better than lots of ninkumpoop ones.

In any case I was just wondering about this situation.

Thanks for the leads!
 
Old 11-20-2008, 03:28 PM   #7
Ranguvar
Member
 
Registered: Oct 2008
Location: Upstate NY
Distribution: Arch Linux
Posts: 99

Rep: Reputation: 17
Arch Linux has BSD-ish scripts, with simplicity (not ease of use!) as the main focus.

http://wiki.archlinux.org/index.php/...h_boot_process
 
Old 11-21-2008, 08:10 AM   #8
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
well I hate to be a spoilsport but AFAIK Linux is not BSD and so BSD's should not be considered linux.

I forgot to consider live cds and their like tho so good point salasi.

udev and hal have somewhat affected how some distros now mount removeable media....traditionally I think under /mnt but now quite often under /media
 
Old 11-22-2008, 05:16 AM   #9
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
Quote:
Originally Posted by aus9 View Post
well I hate to be a spoilsport but AFAIK Linux is not BSD and so BSD's should not be considered linux.
Err, no one said that linux is BSD; that would be a bit daft, wouldn't it?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux virtual memory data structures jasivkumar Linux - Newbie 2 07-15-2008 09:29 PM
LXer: More Linux-type deals Mr Ballmer? Novell may beg to differ LXer Syndicated Linux News 0 11-10-2006 02:03 AM
differ between linux and solaris in socket programming taureanyang Programming 2 07-06-2005 03:27 AM
FreeBSD & Linux differ widely in view of my HDD Tinkster *BSD 7 04-05-2003 04:03 AM
linux file structures exigent Linux - General 3 08-17-2002 02:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration