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