From owner-freebsd-hackers Wed Jul 23 06:41:01 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id GAA17319 for hackers-outgoing; Wed, 23 Jul 1997 06:41:01 -0700 (PDT) Received: from sos.freebsd.dk (sos.freebsd.dk [195.8.129.33]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id GAA17308 for ; Wed, 23 Jul 1997 06:40:52 -0700 (PDT) Received: (from sos@localhost) by sos.freebsd.dk (8.8.6/8.7.3) id PAA15360; Wed, 23 Jul 1997 15:40:36 +0200 (MEST) From: Søren Schmidt Message-Id: <199707231340.PAA15360@sos.freebsd.dk> Subject: Re: Where is source code for fstat command? In-Reply-To: <5010300006145941000002L012*@MHS> from Stephen Wehr at "Jul 23, 97 09:08:02 am" To: swehr@us.ibm.com (Stephen Wehr) Date: Wed, 23 Jul 1997 15:40:36 +0200 (MEST) Cc: freebsd-hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL30 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk In reply to Stephen Wehr who wrote: > I wanted to get the source code for just the "fstat" command. > I was looking in the src directory of the 2.2.2 release, but it's > a little hard to divine which file the source for fstat may be in. > > - Can you point me to the right one? sos> whereis fstat fstat: /usr/bin/fstat /usr/share/man/man1/fstat.1.gz /usr/src/usr.bin/fstat sos> > - Will it work to just download this one file without the rest > of the package? Depends, fstat.c and the Makefile should do it.. > - How do I unpack the *.a? file? Erhm you mean the distribution files ?? Try the install.sh script in the directory from where you get the source distribution... -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Søren Schmidt (sos@FreeBSD.org) FreeBSD Core Team Even more code to hack -- will it ever end ..