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