From owner-freebsd-newbies Mon Apr 8 10:57:22 2002 Delivered-To: freebsd-newbies@freebsd.org Received: from odin.acuson.com (odin.acuson.com [157.226.230.71]) by hub.freebsd.org (Postfix) with ESMTP id B565937B41D for ; Mon, 8 Apr 2002 10:57:13 -0700 (PDT) Received: from mvaexch02.acuson.com ([157.226.230.209]) by odin.acuson.com (Netscape Messaging Server 3.54) with ESMTP id AAA5423; Mon, 8 Apr 2002 10:57:11 -0700 Received: by mvaexch02.acuson.com with Internet Mail Service (5.5.2653.19) id ; Mon, 8 Apr 2002 10:54:22 -0700 Received: from there (dhcp-46-120.acuson.com [157.226.46.120]) by mvaexch01.acuson.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id GKG927J4; Mon, 8 Apr 2002 10:54:56 -0700 From: Johnson David To: Francisco Borggia , freebsd-newbies@freebsd.org Content-Type: text/plain; charset="iso-8859-1" Organization: Acuson Subject: Re: Open source Date: Mon, 8 Apr 2002 10:57:00 -0700 X-Mailer: KMail [version 1.3.2] References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20020408175713.B565937B41D@hub.freebsd.org> Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sunday 07 April 2002 10:10 pm, Francisco Borggia wrote: > There is a heep of files. Where does the execution > begin after everything > is loaded? When I read some C code for Windows or DOS, > there is Winmain() or main() > functions. What is here of that kind? FreeBSD is an operating system. As such it has a whole bunch of components, each with their own entry of execution, and several with NO entries of execution. You won't find "Winmain()" in FreeBSD (or in any standard C textbook either for that matter). Some components will have main function. If this is where you want to start, then check out the "grep" command. It will help you find it. So where do you start looking? I would suggest the FreeBSD documentation that came with the system, particularly that chapter out of Kirk McKusick's book "The Design and Implementation of the 4.4BSD Operating System". Then I would either start looking at the kernel itself if you feel masochistic enough, or something simpler like "fetch". If you know C, then browsing through the C Library is quite enlightening. David To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message