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

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.