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

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.