±Recent Visitors

Recent Visitors to Com-Central!

±User Info-big


Welcome Anonymous

Nickname
Password

Membership:
Latest: cgsimpson
New Today: 0
New Yesterday: 0
Overall: 6645

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