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