From owner-freebsd-questions@FreeBSD.ORG Mon Oct 20 02:49:34 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3106A16A4B3 for ; Mon, 20 Oct 2003 02:49:34 -0700 (PDT) Received: from mx.tele-kom.ru (mx.tele-kom.ru [213.80.148.6]) by mx1.FreeBSD.org (Postfix) with SMTP id 1A3B243FBF for ; Mon, 20 Oct 2003 02:49:32 -0700 (PDT) (envelope-from doublef@tele-kom.ru) Received: (qmail 84842 invoked by uid 555); 20 Oct 2003 13:49:30 +0400 Received: from hal.localdomain (213.80.149.148) by t-k.ru with TeleMail/2 id 1066643368-84823 for rperry4@earthlink.net; Mon, 20 Oct 13:49:28 2003 +0400 (MSD) Date: Mon, 20 Oct 2003 13:42:58 +0400 From: Sergey 'DoubleF' Zaharchenko To: "Robert H. Perry" Message-Id: <20031020134258.4f4f0efd.doublef@tele-kom.ru> In-Reply-To: <3F91D517.7040100@earthlink.net> References: <3F91D517.7040100@earthlink.net> X-Mailer: Sylpheed version 0.9.6claws (GTK+ 1.2.10; i386-portbld-freebsd4.8) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha1"; boundary="Signature=_Mon__20_Oct_2003_13_42_58_+0400_3R8B_yTQfIW=kLts" cc: FreeBSD-Questions Subject: Re: Upgrade to 4.8 RELEASE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Oct 2003 09:49:34 -0000 --Signature=_Mon__20_Oct_2003_13_42_58_+0400_3R8B_yTQfIW=kLts Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: 7bit On Sat, 18 Oct 2003 20:04:39 -0400 "Robert H. Perry" probably wrote: > Hello, > > I'm making plans to upgrade from 4.7 RELEASE to 4.8 RELEASE. My > previous attempt was a binary upgrade from 4.5 to 4.7 which did not go > very well. I eventually purchased the 4.7 CD. > > The FreeBSD Handbook stresses backing up the system and implies that > /dump/ is a better backup program. Chapter 12.9.8.1 of the handbook > recommends having a copy of the boot and fixit floppies available and > making sure they have all your devices, otherwise you'll need to prepare > two bootable custom floppies that contain /fdisk, disklabel, newfs, > mount, /and your backup program. It goes on to say that these programs > must be statically linked. I understand hard and soft links but I'm not > familiar with static links. The handbook also provides a script for > creatinng a bootable floppy. A static link is a firm link:) Seriously, static linking has nothing to do with filesystem links. A statically linked program just uses no shared libraries. AFAICT the programs in /stand (and /bin and /sbin) are statically linked (note that those in /stand are also a "crunchbox", that is, a single "monolithic" program which runs differently depending on the name it was run as). You really have to mess with this only if you are going to write your own program to run from a boot floppy. You can use file(1) if you want to see if a program is staticlally linked: $ file /usr/bin/find /usr/bin/find: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), for FreeBSD 4.8, dynamically linked (uses shared libs), stripped $ file /stand/find /stand/find: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), for FreeBSD 4.8, statically linked, stripped > Can someone help me understand static link? Secondly, can I assume that > the script must be reviewed for likely modifications? I'm just learning > shell programming and if significant modifications are necessary, I may > end up purchasing a CD for 4.8. > > Any suggestions relative to the upgrade process is also appreciated. In fact, a source update isn't as dangerous as you expect. > Thanks, > Bob > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > -- DoubleF When I was a boy I was told that anybody could become President. Now I'm beginning to believe it. -- Clarence Darrow --Signature=_Mon__20_Oct_2003_13_42_58_+0400_3R8B_yTQfIW=kLts Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/k64vwo7hT/9lVdwRAopDAJoDnzxjj1/qsT/vLBcdo4SQsQGmXgCdE7YD v+oQg9xPrVGsqSvG8WCbV1I= =Scn9 -----END PGP SIGNATURE----- --Signature=_Mon__20_Oct_2003_13_42_58_+0400_3R8B_yTQfIW=kLts--