From owner-freebsd-questions Sun May 19 13:23:28 2002 Delivered-To: freebsd-questions@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id D209537B40C for ; Sun, 19 May 2002 13:23:23 -0700 (PDT) Received: (from dan@localhost) by dan.emsphone.com (8.12.2/8.12.3) id g4JKNM4I050155; Sun, 19 May 2002 15:23:22 -0500 (CDT) (envelope-from dan) Date: Sun, 19 May 2002 15:23:22 -0500 From: Dan Nelson To: Steve Mazerski Cc: freebsd-questions@FreeBSD.ORG Subject: Re: "Base system" applications, files (newby-ish questions) Message-ID: <20020519202322.GA25559@dan.emsphone.com> References: <200205192056.21163.smazerski@yahoo.co.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200205192056.21163.smazerski@yahoo.co.jp> User-Agent: Mutt/1.3.99i X-OS: FreeBSD 5.0-CURRENT X-message-flag: Outlook Error Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In the last episode (May 19), Steve Mazerski said: > In the meantime I have a couple of questions. Apologies if they are > newby-ish, but I haven't found any answers anywhere else: > > 1. "Base system" applications > > not quite sure what the technical term is, but FreeBSD installs a > certain number of applications as part of the basic installation. Is > there any way of generating an overview (a la pkg_info) of which > applications / versions thereof are installed? For the most part, you can assume the version of all the binaries is "4.5", or whatever version of BSD you just installed. The base system is pretty much treated as a single unit. Exceptions are programs that are actively maintained outside of FreeBSD: gcc, ntpd, ssh, etc. The release engineers try not to upgrade these, preferring to merge in only security fixes. Makes it easier to people to upgrade without having to redo all their config files. The easiest way to find out versions for those programs is to check /usr/src/contrib, or run "program -v" for each program. > 2. Removing same > > There are certain situations when I, in my capacity as omniescent > quasi deity and system administrator decide in my infinite wisdom > that certain vital applications have to be replaced. This occurs from > time to time with OpenSSH :-(. Now, I can download and install a > current version with pkg_add, which does of course not replace the > original version, and ensure that the new version is run (by setting > the sshd_variable in /etc/rc.conf??). However the original files are > still there, pricking my paranoid conscience. Is there any "elegant" > way of deinstalling these files apart from tracking them down by > hand? Not really. > 3. .cshrc and .profile in / > > Is there any reason for these files to be in the root directory? I don't think so. roots homedir is /root. Maybe it's for the extremely rare case where someone su's to a non-interactive uid like news, kmem, or bind. > 4. Duplicated command files > > I notice in several places identical commands, e.g. /bin/ln , /bin/link > or /bin/[ , /bin/test exist as identical duplicate files. Is there any reason > for this, or for not implementing the duplicates as links? ln, link, [, and test are hardlinks on my system. I don't know why yours aren't. Maybe you manually copied them at some point? -- Dan Nelson dnelson@allantgroup.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message