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