From owner-freebsd-hackers Mon Apr 13 23:30:57 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA05979 for freebsd-hackers-outgoing; Mon, 13 Apr 1998 23:30:57 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA05954 for ; Tue, 14 Apr 1998 06:30:44 GMT (envelope-from grog@lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.8.7/8.8.5) with ESMTP id QAA25714; Tue, 14 Apr 1998 16:00:32 +0930 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.8.8/8.8.7) id QAA02088; Tue, 14 Apr 1998 16:00:32 +0930 (CST) (envelope-from grog) Message-ID: <19980414160032.D1870@freebie.lemis.com> Date: Tue, 14 Apr 1998 16:00:32 +0930 From: Greg Lehey To: "Matthew D. Fuller" , Adam Ryan Mcdougall Cc: hackers@FreeBSD.ORG Subject: Re: the place of vi References: <3532FB4B.541EC6EE@ameritech.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: ; from Matthew D. Fuller on Tue, Apr 14, 1998 at 01:05:41AM -0500 WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 14 April 1998 at 1:05:41 -0500, Matthew D. Fuller wrote: > On Tue, 14 Apr 1998, Adam Ryan Mcdougall wrote: > >> Matthew D. Fuller wrote: >>> >>> OK, here's a question... >>> Is vi statically linked? >>> If so, what's the chance that it could be stuck in /bin, say? >>> It's kinda aggravating to bring the system up in single user mode and have >>> to fsck and mount /usr jsut to be able to change something stupid in >>> rc.conf that I forgot. >> >> He shoots... OHH HE MISSES! >> >>> ldd /usr/bin/vi >> /usr/bin/vi: >> -lcurses.2 => /usr/lib/libcurses.so.2.0 (0x20056000) >> -ltermcap.2 => /usr/lib/libtermcap.so.2.1 (0x20062000) >> -lc.3 => /usr/lib/libc.so.3.1 (0x20066000) > > Doh, I figured it probably was, but I can pray, can't I? Prayer is for those who can't do, maybe because they don't have the sources. >> btw you can try to make a static vi by editing the Makefile in the src >> dir for vi and adding CFLAGS = -static >> remember the bin will be in /usr/obj/ :) > > Any thoughts on the wisdom of this? I *CAN'T* be the only one who thinks > this way... When vi ended up in /usr/bin, machines had about 1% of the mass storage and throughput of modern machines. vi was just too big to fit on the root file system. Times have changed. I think it's wise. I even have bash on the root file system. Greg -- See complete headers for address and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message