±Recent Visitors

Recent Visitors to Com-Central!

±User Info-big


Welcome Anonymous

Nickname
Password

Membership:
Latest: cgsimpson
New Today: 0
New Yesterday: 0
Overall: 6645

People Online:
Members: 0
Visitors: 575
Total: 575
Who Is Where:
 Visitors:
01: Community Forums
02: Community Forums
03: Community Forums
04: Your Account
05: Community Forums
06: Community Forums
07: Community Forums
08: Home
09: Home
10: Home
11: Community Forums
12: Community Forums
13: Photo Gallery
14: Photo Gallery
15: Community Forums
16: Community Forums
17: Community Forums
18: Home
19: Your Account
20: Downloads
21: Community Forums
22: Downloads
23: Downloads
24: Community Forums
25: Community Forums
26: Community Forums
27: Community Forums
28: Community Forums
29: Community Forums
30: Community Forums
31: Community Forums
32: Community Forums
33: Photo Gallery
34: Community Forums
35: Community Forums
36: Home
37: Photo Gallery
38: Community Forums
39: Community Forums
40: Community Forums
41: Community Forums
42: Community Forums
43: Community Forums
44: Community Forums
45: Photo Gallery
46: Home
47: Community Forums
48: Community Forums
49: Community Forums
50: Community Forums
51: Downloads
52: Community Forums
53: Community Forums
54: Home
55: Home
56: Photo Gallery
57: Community Forums
58: Community Forums
59: Community Forums
60: Photo Gallery
61: Home
62: News Archive
63: Your Account
64: Home
65: Home
66: Photo Gallery
67: Community Forums
68: Downloads
69: Community Forums
70: Home
71: Downloads
72: Community Forums
73: Member Screenshots
74: Community Forums
75: CPGlang
76: Photo Gallery
77: Home
78: Community Forums
79: Community Forums
80: Community Forums
81: Community Forums
82: Statistics
83: Photo Gallery
84: Community Forums
85: Member Screenshots
86: Home
87: Home
88: Photo Gallery
89: Community Forums
90: Downloads
91: Statistics
92: Downloads
93: Community Forums
94: Community Forums
95: Photo Gallery
96: Community Forums
97: Community Forums
98: Community Forums
99: Home
100: Community Forums
101: Community Forums
102: Community Forums
103: Photo Gallery
104: Community Forums
105: Photo Gallery
106: Community Forums
107: News Archive
108: Community Forums
109: Home
110: Community Forums
111: Community Forums
112: Community Forums
113: Community Forums
114: Community Forums
115: Photo Gallery
116: Community Forums
117: Community Forums
118: Community Forums
119: Home
120: Community Forums
121: Community Forums
122: Community Forums
123: Community Forums
124: Community Forums
125: Photo Gallery
126: Community Forums
127: Community Forums
128: Your Account
129: Community Forums
130: Home
131: Photo Gallery
132: Community Forums
133: Downloads
134: Downloads
135: Home
136: Community Forums
137: Photo Gallery
138: Community Forums
139: Home
140: Community Forums
141: Photo Gallery
142: Home
143: Community Forums
144: Home
145: Community Forums
146: Community Forums
147: Community Forums
148: Search
149: Community Forums
150: Community Forums
151: Community Forums
152: Community Forums
153: Downloads
154: Photo Gallery
155: Home
156: Photo Gallery
157: Home
158: Community Forums
159: CPGlang
160: Home
161: Home
162: Community Forums
163: Home
164: Downloads
165: Community Forums
166: Community Forums
167: Community Forums
168: Community Forums
169: Home
170: Community Forums
171: Community Forums
172: Photo Gallery
173: Community Forums
174: Community Forums
175: Photo Gallery
176: Community Forums
177: Community Forums
178: Community Forums
179: Community Forums
180: Community Forums
181: Photo Gallery
182: Photo Gallery
183: Community Forums
184: Community Forums
185: Community Forums
186: Member Screenshots
187: Photo Gallery
188: Home
189: Community Forums
190: Community Forums
191: Community Forums
192: Community Forums
193: Community Forums
194: Community Forums
195: Community Forums
196: Statistics
197: Photo Gallery
198: Community Forums
199: Community Forums
200: Community Forums
201: Community Forums
202: Community Forums
203: Home
204: Community Forums
205: Home
206: Community Forums
207: Community Forums
208: Photo Gallery
209: Community Forums
210: Photo Gallery
211: Community Forums
212: Member Screenshots
213: Community Forums
214: Your Account
215: Community Forums
216: Photo Gallery
217: Community Forums
218: Community Forums
219: Downloads
220: Community Forums
221: Home
222: Home
223: Community Forums
224: Community Forums
225: Community Forums
226: Community Forums
227: Community Forums
228: Downloads
229: Community Forums
230: Downloads
231: Community Forums
232: Community Forums
233: Community Forums
234: Home
235: Community Forums
236: Community Forums
237: Community Forums
238: Community Forums
239: Community Forums
240: Community Forums
241: Photo Gallery
242: Photo Gallery
243: Community Forums
244: Photo Gallery
245: Home
246: Community Forums
247: Your Account
248: Community Forums
249: Home
250: Community Forums
251: Community Forums
252: Community Forums
253: Community Forums
254: Photo Gallery
255: Community Forums
256: Photo Gallery
257: Community Forums
258: Community Forums
259: Community Forums
260: Home
261: Your Account
262: Community Forums
263: Downloads
264: News Archive
265: Community Forums
266: Community Forums
267: CPGlang
268: Community Forums
269: Photo Gallery
270: Home
271: Community Forums
272: Photo Gallery
273: Community Forums
274: Home
275: Community Forums
276: Community Forums
277: Community Forums
278: Community Forums
279: Community Forums
280: News Archive
281: Community Forums
282: Community Forums
283: Community Forums
284: Community Forums
285: Community Forums
286: Community Forums
287: Home
288: Downloads
289: Community Forums
290: Photo Gallery
291: Community Forums
292: Community Forums
293: Community Forums
294: Community Forums
295: Home
296: Community Forums
297: Home
298: Community Forums
299: Community Forums
300: Home
301: Home
302: Community Forums
303: Community Forums
304: Photo Gallery
305: Community Forums
306: Community Forums
307: Community Forums
308: Community Forums
309: Community Forums
310: Community Forums
311: Community Forums
312: Home
313: Member Screenshots
314: Community Forums
315: Community Forums
316: Community Forums
317: Downloads
318: Community Forums
319: Downloads
320: Community Forums
321: Member Screenshots
322: Community Forums
323: Home
324: Home
325: Home
326: Community Forums
327: News
328: Your Account
329: Community Forums
330: Home
331: Community Forums
332: Photo Gallery
333: Home
334: Community Forums
335: Community Forums
336: Community Forums
337: Community Forums
338: Photo Gallery
339: Community Forums
340: Home
341: Downloads
342: Home
343: Photo Gallery
344: Home
345: Community Forums
346: Home
347: Photo Gallery
348: Community Forums
349: Community Forums
350: Photo Gallery
351: Community Forums
352: Community Forums
353: Community Forums
354: Community Forums
355: Community Forums
356: Home
357: Home
358: Community Forums
359: Community Forums
360: Community Forums
361: Community Forums
362: Community Forums
363: Photo Gallery
364: Community Forums
365: Community Forums
366: Member Screenshots
367: Community Forums
368: Community Forums
369: Community Forums
370: Photo Gallery
371: Community Forums
372: Community Forums
373: Community Forums
374: Home
375: Photo Gallery
376: Home
377: Photo Gallery
378: Community Forums
379: Community Forums
380: Community Forums
381: Home
382: Photo Gallery
383: Community Forums
384: CPGlang
385: Community Forums
386: Community Forums
387: Photo Gallery
388: Photo Gallery
389: Photo Gallery
390: CPGlang
391: Community Forums
392: Community Forums
393: Community Forums
394: Community Forums
395: Photo Gallery
396: Home
397: Community Forums
398: Photo Gallery
399: Home
400: Community Forums
401: Community Forums
402: Community Forums
403: Community Forums
404: Community Forums
405: Home
406: Community Forums
407: Community Forums
408: Statistics
409: Community Forums
410: Downloads
411: Photo Gallery
412: Community Forums
413: News
414: Community Forums
415: Photo Gallery
416: Community Forums
417: Community Forums
418: Home
419: Community Forums
420: Downloads
421: Home
422: Community Forums
423: Photo Gallery
424: News Archive
425: Community Forums
426: Community Forums
427: Community Forums
428: Photo Gallery
429: Community Forums
430: Photo Gallery
431: Photo Gallery
432: Community Forums
433: Photo Gallery
434: Community Forums
435: Your Account
436: Community Forums
437: Community Forums
438: Community Forums
439: Photo Gallery
440: Community Forums
441: Community Forums
442: Photo Gallery
443: Community Forums
444: Home
445: Community Forums
446: Community Forums
447: Your Account
448: Photo Gallery
449: Community Forums
450: Community Forums
451: Community Forums
452: Photo Gallery
453: Community Forums
454: Community Forums
455: Community Forums
456: Community Forums
457: Home
458: Photo Gallery
459: Community Forums
460: Community Forums
461: Home
462: Community Forums
463: Photo Gallery
464: Community Forums
465: Community Forums
466: Home
467: Community Forums
468: Home
469: Community Forums
470: Home
471: Community Forums
472: Community Forums
473: Community Forums
474: Community Forums
475: Community Forums
476: Community Forums
477: Community Forums
478: Home
479: Community Forums
480: Community Forums
481: Community Forums
482: Community Forums
483: Community Forums
484: Community Forums
485: Community Forums
486: Community Forums
487: Community Forums
488: Downloads
489: Photo Gallery
490: Community Forums
491: Community Forums
492: Downloads
493: Community Forums
494: Home
495: Community Forums
496: Your Account
497: Downloads
498: Community Forums
499: Community Forums
500: Photo Gallery
501: Community Forums
502: Community Forums
503: Downloads
504: Home
505: Photo Gallery
506: Photo Gallery
507: Community Forums
508: Member Screenshots
509: Community Forums
510: Photo Gallery
511: Photo Gallery
512: Downloads
513: Photo Gallery
514: Community Forums
515: Home
516: Community Forums
517: Community Forums
518: Photo Gallery
519: Community Forums
520: Community Forums
521: Community Forums
522: Community Forums
523: Downloads
524: Home
525: Home
526: Photo Gallery
527: Community Forums
528: Community Forums
529: Community Forums
530: Community Forums
531: Community Forums
532: Home
533: Home
534: Community Forums
535: Community Forums
536: Community Forums
537: Photo Gallery
538: Community Forums
539: Community Forums
540: Community Forums
541: Home
542: Photo Gallery
543: Community Forums
544: Community Forums
545: Home
546: Community Forums
547: Home
548: News Archive
549: Community Forums
550: Community Forums
551: Community Forums
552: Community Forums
553: Community Forums
554: Community Forums
555: Photo Gallery
556: Community Forums
557: Downloads
558: Photo Gallery
559: Community Forums
560: Home
561: Community Forums
562: Community Forums
563: Community Forums
564: Community Forums
565: Downloads
566: Home
567: Community Forums
568: Home
569: Community Forums
570: Photo Gallery
571: Community Forums
572: Community Forums
573: Photo Gallery
574: Community Forums
575: Home

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: 7015
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.