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