±Recent Visitors

Recent Visitors to Com-Central!

±User Info-big


Welcome Anonymous

Nickname
Password

Membership:
Latest: HighestAce
New Today: 0
New Yesterday: 0
Overall: 6648

People Online:
Members: 0
Visitors: 292
Total: 292
Who Is Where:
 Visitors:
01: Community Forums
02: Community Forums
03: News Archive
04: Community Forums
05: Home
06: Community Forums
07: Photo Gallery
08: Home
09: Photo Gallery
10: Home
11: Downloads
12: Community Forums
13: Community Forums
14: Home
15: Photo Gallery
16: Community Forums
17: Community Forums
18: Statistics
19: Member Screenshots
20: Community Forums
21: Home
22: Downloads
23: Photo Gallery
24: Home
25: Home
26: News Archive
27: Home
28: Community Forums
29: Community Forums
30: Home
31: Community Forums
32: Community Forums
33: Home
34: Home
35: Photo Gallery
36: News
37: Photo Gallery
38: Downloads
39: Member Screenshots
40: Community Forums
41: Community Forums
42: Community Forums
43: Community Forums
44: Community Forums
45: Community Forums
46: Community Forums
47: Photo Gallery
48: Community Forums
49: Community Forums
50: Home
51: Community Forums
52: Downloads
53: Photo Gallery
54: Downloads
55: Community Forums
56: Community Forums
57: Home
58: Home
59: Community Forums
60: Home
61: Member Screenshots
62: Community Forums
63: Your Account
64: Photo Gallery
65: Downloads
66: Home
67: Community Forums
68: Home
69: Downloads
70: Downloads
71: Community Forums
72: Your Account
73: Community Forums
74: Community Forums
75: Home
76: Community Forums
77: Home
78: Community Forums
79: Photo Gallery
80: Home
81: Home
82: Home
83: Community Forums
84: Community Forums
85: Home
86: Community Forums
87: Photo Gallery
88: Home
89: Home
90: Home
91: Home
92: Photo Gallery
93: Downloads
94: Community Forums
95: Home
96: Home
97: Community Forums
98: Home
99: Downloads
100: Home
101: Home
102: Supporters
103: Downloads
104: Home
105: Photo Gallery
106: Photo Gallery
107: Home
108: Community Forums
109: Member Screenshots
110: Downloads
111: Member Screenshots
112: Statistics
113: Downloads
114: Community Forums
115: Community Forums
116: Member Screenshots
117: Downloads
118: Home
119: Home
120: Member Screenshots
121: Home
122: Community Forums
123: Photo Gallery
124: Home
125: Community Forums
126: Home
127: Community Forums
128: Community Forums
129: Photo Gallery
130: News
131: Community Forums
132: Home
133: Home
134: Home
135: Community Forums
136: Photo Gallery
137: Community Forums
138: Community Forums
139: Downloads
140: Community Forums
141: Community Forums
142: Photo Gallery
143: Home
144: Home
145: Photo Gallery
146: Community Forums
147: Photo Gallery
148: Home
149: Home
150: Community Forums
151: Photo Gallery
152: Home
153: Community Forums
154: Community Forums
155: Community Forums
156: Downloads
157: Home
158: Home
159: Photo Gallery
160: Home
161: Downloads
162: Community Forums
163: Home
164: Member Screenshots
165: Community Forums
166: Home
167: Community Forums
168: Photo Gallery
169: Community Forums
170: Home
171: Photo Gallery
172: Downloads
173: Community Forums
174: Photo Gallery
175: Community Forums
176: Community Forums
177: Community Forums
178: Community Forums
179: News
180: Member Screenshots
181: Member Screenshots
182: Home
183: Community Forums
184: Community Forums
185: Home
186: Home
187: Community Forums
188: Community Forums
189: Home
190: Home
191: Photo Gallery
192: Community Forums
193: Home
194: Photo Gallery
195: Community Forums
196: Home
197: Downloads
198: Photo Gallery
199: Downloads
200: Photo Gallery
201: Photo Gallery
202: Photo Gallery
203: Photo Gallery
204: Member Screenshots
205: News Archive
206: Community Forums
207: Photo Gallery
208: Home
209: Photo Gallery
210: Home
211: Community Forums
212: Photo Gallery
213: Home
214: News Archive
215: Community Forums
216: Photo Gallery
217: Your Account
218: Your Account
219: Home
220: Community Forums
221: Home
222: Community Forums
223: Photo Gallery
224: Home
225: Home
226: Home
227: Home
228: Home
229: Community Forums
230: Community Forums
231: Photo Gallery
232: Community Forums
233: Community Forums
234: Home
235: Community Forums
236: Home
237: Downloads
238: Home
239: Home
240: Community Forums
241: Home
242: Photo Gallery
243: Home
244: Home
245: Photo Gallery
246: Home
247: Community Forums
248: Community Forums
249: Community Forums
250: Home
251: News Archive
252: Community Forums
253: Downloads
254: Photo Gallery
255: Community Forums
256: Downloads
257: Photo Gallery
258: Search
259: Home
260: Photo Gallery
261: Community Forums
262: Downloads
263: Photo Gallery
264: Community Forums
265: Home
266: Home
267: Home
268: Member Screenshots
269: Community Forums
270: Community Forums
271: Community Forums
272: Photo Gallery
273: Home
274: Community Forums
275: Community Forums
276: Photo Gallery
277: Community Forums
278: Community Forums
279: Community Forums
280: Home
281: Home
282: Community Forums
283: Downloads
284: Home
285: Community Forums
286: Downloads
287: Community Forums
288: Home
289: Member Screenshots
290: Community Forums
291: Home
292: Community Forums

Staff Online:

No staff members are online!
Dabbling in Linux? File structure explained. :: Archived
This is a forum for Software related items such as OS', Virus notices, cool or free programs, etc. Gaming software should go in the gaming folder pertaining to the current info.
Post new topic    Revive this topic    Printer Friendly Page     Forum Index ›  Software

Topic Archived View previous topic :: View next topic  
Author Message
Shadow_Bshwackr
Janitor

Offline Offline
Joined: Jan 21, 2005
Posts: 7019
Location: Central Illinois, USA
PostPosted: Tue Dec 06, 2005 12:16 pm
Post subject: Dabbling in Linux? File structure explained.

As some of you know, I run Linux/XP as a dual boot set up and other than the initial interest in something other than XP, the file structure is probably the most confusing for Windows users to understand. Linux uses terms like /home, /usr, etc, as directories and Windows uses My Computer, My Documents, Program Files and so on, and this is something I found on the net to help you understand how those two different OS' place files in the file tree.

There are several differences between windows and linux filesystem structure. these differences are the way linux ( and other unix os ) protect against both data loss and filesystem corruption.

t begin with a basic terminology definition ( most likely not needed, but included for completeness )

root is both the system admin, and the foundation of the file system. the differentiation is:
root = system admin
/ = foundation of file system

Directory: a folder on a partition. the biggest difference is a directory can be a partition name as well, when this happens accessing the directory is changing drives in windows.

filesystem type: this is the underlying structure of the filesystem, e2fs, reiserfs.... a windows version is fat, fat32 or ntfs.

partition: the same as windows, a section of physical hard drive set up to act as a hard drive in and of itself.

where a directory or partition has an * after it will be where the term is applying to more than one definition.

now that this is clarified, the linux names and the windows equivalents.

/ this is the same as the c drive with windows.

/bin this directory is used to store the command line executables that any use can access. comparable to c:\windows\command

/boot this directory can be, and usually is, a separate partition. this contains the kernel, and those parts of the bootloader that are not able to fit in the mbr ( master boot record )

/dev this directory is used to store the definitions of all known devices. it is not recommended to make this it's own partition.
this is most closely matched to device manager in windows, though this is not a good match, as it also resembles the c:\windows\system folder

/etc this directory is used to store system configuration data, such as what drivers, default fonts, default interface, default runlevel... are setup for the system. it contains the configuration defaults for every distribution included application. the closest windows has to this is the windows directory itself.

/home* this is comparable to the c:\documents and settings in windows nt family of products. it is recommended that this be a separate partition

/lib this is the core shared libraries and kernel modules. again this is the windows\system folder

/media a directory detailed to be used for removable media, such as floppys and cdroms, this is often not included. my computer in windows

/mnt this directory is always used, it is intended to hold mount points for filesystems, it is also used for the media mout points mentioned above. my computer in windows.

/opt* : Add-on application software packages.
by making this a partition, not just a directory in the / filesystem, you can control the space available for after market applications. unfortunately, this usage has not happened as much as it should have. c:\program files ( need I say more? Wink )

/proc this is a depreciated structure, it was used to store active processes. newer systems will no longer have this.

/root this is the system admin users home directory, locked to root access only. optionally, but not recommended, a separate partition it is comparable to c:\windows

/sbin this is the root user only executable tools.
comparable to c:\windows\command

/srv : Data for services provided by this system
no real windows equivalent, other than c:\windows

/tmp : Temporary files, optionally a separate partition. comparable to c:\windows\temp
I personally do make this a separate partition, as some cd burning software creates temporary disc images in this, and I can ensure enough space for this activity this way.

/usr this is the area that the actual programs, libraries sources for the kernel... are installed.
most 3rd party software also installs itself here, despite the existance of the /opt directory / partition. this is c:\program files there is an entire heirarchy under this, that breaks the contents into even smaller areas, the url supplied at the bottom has these details. I always set this as it's own partition and ensure it is twice the size required for the system ( those 3rd party apps you know. )

/var optionally it's own partion, recommended to be so. this is used to store logs, default for webserver root. public ftp mailcap ( email server ) in short to store anything that is changed regularly, and that a record is needed. most closely matched by c:\windows

and there you have a brief outline of what each of those cryptic directories are for on your linux workstation. this should help you to find your way around, if / when you are troubleshooting a system. ( like finding default font setting for xfs ( x font srever ) )
all of this, in technical detail, including options can be found: Here


Posted by: Jaqui


Back to top
View user's profile Visit poster's website Photo Gallery
Display posts from previous:   
Post new topic    Revive this topic    Printer Friendly Page    Forum Index ›  Software
Page 1 of 1
All times are GMT - 6 Hours

Archive Revive
Username:
This is an archived topic - your reply will not be appended here.
Instead, a new topic will be generated in the active forum.
The new topic will provide a reference link to this archived topic.