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