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