From owner-freebsd-questions Fri Apr 13 2:57: 4 2001 Delivered-To: freebsd-questions@freebsd.org Received: from ren.sasknow.com (ren.sasknow.com [207.195.92.131]) by hub.freebsd.org (Postfix) with ESMTP id C944637B424 for ; Fri, 13 Apr 2001 02:57:01 -0700 (PDT) (envelope-from ryan@sasknow.com) Received: from localhost (ryan@localhost) by ren.sasknow.com (8.9.3/8.9.3) with ESMTP id DAA63060; Fri, 13 Apr 2001 03:56:59 -0600 (CST) (envelope-from ryan@sasknow.com) Date: Fri, 13 Apr 2001 03:56:59 -0600 (CST) From: Ryan Thompson To: Joe Heuring Cc: freebsd-questions@FreeBSD.ORG Subject: Re: install floppy 1 In-Reply-To: <20100412223357.A19212@Joe H> Message-ID: Organization: SaskNow Technologies [www.sasknow.com] MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Joe Heuring wrote to freebsd-questions@FreeBSD.ORG: > fresh install for a celeron/ide drive > > on the first floppy, I'm just curious, it says: > /kernel text=0x23b67b data=0x2f4c4+0x20194 - > > Is that referring to the floppy or the ide? At this stage how would I > be able to read the text and data? "text" and "data" (in general terms) refer to two of the areas of memory used by each process, and the kernel, for code execution, and static data, respectively. Specifically, what you're seeing on boot-up is the kernel reporting the size of its text and data areas, as the bootstrapping sequence reads the kernel from a regular file on disk and initializes the memory. Try size(1) to see the sizes of text, data, and bss for an executable file. In particular, try size /kernel. The first four columns in the output are decimal values, not hex. And, to answer your question, you normally wouldn't want to "read" the text and data, unless you were a kernel thread. ;-) (Yes, there are interfaces in UNIX, including /dev/mem and /dev/kmem (for user memory and kernel memory, respectively), to read and write raw memory, but I don't think that's what you meant). - Ryan -- Ryan Thompson Network Administrator, Accounts SaskNow Technologies - http://www.sasknow.com #106-380 3120 8th St E - Saskatoon, SK - S7H 0W2 Tel: 306-664-3600 Fax: 306-664-1161 Saskatoon Toll-Free: 877-727-5669 (877-SASKNOW) North America To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message