LinuxQuestions.org
Review your favorite Linux distribution.
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 08-25-2012, 02:33 AM   #1
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Major Directory Trees


Hi:
I have done my Debian Distro reading but still have questions-

I understand that there are 3 major directories and 3 sets of sub-directories; containing index. One; Binary; (.gz & bz2)
Since the binary pkg's residise in the top level of the pool directory I'm confused about this.

After looking at all the different Linux trees I found on a Google page I was still uncertain and only one of them made sense to me. Sorry I haven't been able to copy/paste; just purchased this Sony & don't know how yet-(an ordeal all of it's own;lol)

I read about the sub directories that are meant for source pkg's and the other sub directories intended for the installation systems index files.

Does each distribution have the same number of index files?

Would these be on the far right of the tree (if I were standing on the roots) or the far left?

If this pool directory is at the top of the tree (where the modules are) what files are in between the first branch at the bottom and the last branch at the top?

Any information would be much obliged-
 
Old 08-25-2012, 06:00 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Quote:
I understand that there are 3 major directories and 3 sets of sub-directories; containing index. One; Binary; (.gz & bz2)
I don't understand this---can you show us where you found it?
Quote:
Sorry I haven't been able to copy/paste
It's almost always ctrl-C for copy and ctrl-V for paste**.

To get us all on the same page, please open a terminal and enter "ls /". Post the results here.**

For reference, this is the output of "ls /" on my system:
Code:
[mherring@herring_desk ~]$ ls /
bin   dev  home  lib64       media  opt   root  sbin  sys  usr
boot  etc  lib   lost+found  mnt    proc  run   srv   tmp  var
"/" is the root of the filesystem so, in my case, there are 20 top-level directories



**In the typical virtual terminal, it's ctrl-shift-copy and ctrl-shift-paste. Or just select the text, right-click, and select copy or paste.
 
1 members found this post helpful.
Old 08-25-2012, 11:51 AM   #3
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484

Original Poster
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
I'm writing to you from my new laptop and don not have a Linux distro on it.
I've only had this Sony Vaio for 2 days. It has Windows 7 on it and I don't know how to open a terminal in Windows.

I had Ubuntu 10.04 Lucid Linux on my desktop for the past 3 years. I installed Debian 2 weeks ago on my desktop.

My Desktop PC has Debian Squeeze on it.

This is the Debiann page that I read and found "6.8 What are all those directories inside dists/stable/main?"

http://www.debian.org/doc/manuals/de...html#s-dirtree

Thank you for telling me about Ctrl+C and Ctrl+v-
And; Thank you for showing me the ls; / output on your system.

I picked up a large poster board and started to create a large tree with paper and clue. At the end of each branch I glued small pieces of paper to resemble files. I started this poster board to help myself understand the Linux tree. So far I only have the root user at the bottom of the tree. This is the tree that I am duplicating on my poster board and it's website. It's the only tree that made any sense to me- On the Google page I'm referring to the all black tree.

https://www.google.com/search?q=linu...z06AGmjoGICg&s

I'm not were my Desktop is but I can post the terminal results you asked me for later after 6p.m.

Last edited by Ztcoracat; 08-25-2012 at 11:57 AM. Reason: Add Google link for tree
 
Old 08-25-2012, 05:50 PM   #4
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484

Original Poster
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Here's what the output of my terminal is for ls /

Code:
bin   etc         lib    lost+found  opt   sbin     sys  var
boot  home        lib32  media       proc  selinux  tmp  vmlinuz
dev   initrd.img  lib64  mnt         root  srv      usr
ztcoracat@mock:~$
I see mine is slightly different than yours; looks like I have more to learn-
 
Old 08-25-2012, 06:14 PM   #5
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Quote:
This is the Debiann page that I read and found "6.8 What are all those directories inside dists/stable/main?"

http://www.debian.org/doc/manuals/de...html#s-dirtree
That is information for the Debian web site-----not for the Linux file system.

I would not worry too much about differences between your file system and someone else's---just get used to how your system does things, and then you can branch out.

for more info, do a Google search using "linux file system".
 
1 members found this post helpful.
Old 08-25-2012, 06:19 PM   #6
Randicus Draco Albus
Senior Member
 
Registered: May 2011
Location: Hiding somewhere on planet Earth.
Distribution: No distribution. OpenBSD operating system
Posts: 1,711
Blog Entries: 8

Rep: Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635
Quote:
Originally Posted by Ztcoracat View Post
I understand that there are 3 major directories and 3 sets of sub-directories; containing index. One; Binary; (.gz & bz2)
Since the binary pkg's residise in the top level of the pool directory I'm confused about this.
The first link is information about the Debian FTP archives. It explains how the package repositories are organised. It has nothing to do with the Linux file system. It is more information than you need to know.
Learning about the structure of the Linux file system on the other hand, is very useful.

Edit
pixellany posted before I did, making my post somewhat redundant.

Last edited by Randicus Draco Albus; 08-25-2012 at 06:21 PM.
 
1 members found this post helpful.
Old 08-25-2012, 07:28 PM   #7
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484

Original Poster
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
I'm on my way; going to Google to find:
Code:
" Linux file system"
Thank You; for helping me to get things straight.
 
Old 08-25-2012, 07:40 PM   #8
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484

Original Poster
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by Randicus Draco Albus View Post
The first link is information about the Debian FTP archives. It explains how the package repositories are organised. It has nothing to do with the Linux file system. It is more information than you need to know.
Learning about the structure of the Linux file system on the other hand, is very useful.

Edit
pixellany posted before I did, making my post somewhat redundant.

Sometimes redundancy is a good thing. The act of repeating something over and over again is IMO a good teacher.
It helps one to get better at what they do or in this case what I'm trying to learn.

I had to fabricate a porcelain fused to metal crown 20 times or more before I could permanently cement it onto a person's natural tooth structure.
Now,I can (theoretically speaking)fabricate a crown with my eyes closed.
 
  


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
Best way to merge two directory trees with replace? legacyprog Linux - General 5 12-24-2011 08:15 PM
Merge directory trees mrwall-e Linux - Software 5 02-20-2011 08:37 AM
mkisofs and preserving directory trees crontab Linux - Software 2 03-27-2009 10:00 AM
Q: on deleting directory trees n00bJoe Arch 3 03-09-2006 12:13 PM
How to keep 2 directory trees synchronised? hrr Linux - General 2 07-02-2003 12:01 PM

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

All times are GMT -5. The time now is 11:06 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