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