From owner-freebsd-questions Sun Aug 10 19:42:14 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id TAA03148 for questions-outgoing; Sun, 10 Aug 1997 19:42:14 -0700 (PDT) Received: from andrsn.stanford.edu (root@andrsn.Stanford.EDU [36.33.0.163]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id TAA03143 for ; Sun, 10 Aug 1997 19:42:12 -0700 (PDT) Received: from localhost (andrsn@localhost.stanford.edu [127.0.0.1]) by andrsn.stanford.edu (8.8.6/8.6.12) with SMTP id TAA01702 for ; Sun, 10 Aug 1997 19:41:55 -0700 (PDT) Date: Sun, 10 Aug 1997 19:41:53 -0700 (PDT) From: Annelise Anderson To: freebsd-questions@freebsd.org Subject: Question (fwd) Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I am forwarding this--I think a previous message from the same person was also forwarded--because it deserves, I think, more than I can manage. Please reply to him rather than me. Annelise ---------- Forwarded message ---------- Date: Mon, 11 Aug 1997 09:37:33 +0000 From: Wang Huaibo To: Annelise Anderson Subject: Question Annelise Anderson wrote: > > On Thu, 24 Jul 1997, Wang Huaibo wrote: > > All the sources are available....some of the files themselves are > created when the system is installed. Could you tell me which > core or critical files you cannot find? Perhaps then I could > help more. > > Annelise ================================================================ Thanks for your reply, I collect some puzzles encountered when I read FreeBSD 1.5, they provent me from undersdtanding and re-building it: 1.in init_main.c,there is two lines: static void dummyinit() {} TEXT_SET(pseudo_set, dummyinit); I think,pseudo_set contains all device detect-and-setup entries, so, in files such as isa.c,there must be such lines like: TEXT_SET( pseudo_set,???_init ); but I searched the string "pseudo_set" in all files only to see it is only found in init_main.c 2.in file fdc.c, two header file,say, fd.h and fdc.h, are included, but I only can locate one of them. 3.I tried to analyse the way that system call are done, I set off from source code of LibC, but function such as open() can not be found. ... I had supposed that the source code just let us know how it works rather than how it is constructed. I like unix, but I don't like its limited-scalability, I mean, unlike in DOS, we can extend the system just by hooking some INTs, even in Win 3.1/95, we can extend the system by hooking APIs. Best regards Wang Huaibo 8.10