From owner-freebsd-questions Wed Oct 9 2: 9:17 2002 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 98A4B37B401 for ; Wed, 9 Oct 2002 02:09:16 -0700 (PDT) Received: from lurza.secnetix.de (lurza.secnetix.de [212.66.1.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id B9B0643E65 for ; Wed, 9 Oct 2002 02:09:15 -0700 (PDT) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (localhost [IPv6:::1]) by lurza.secnetix.de (8.12.5/8.12.5) with ESMTP id g9999CmC083671 for ; Wed, 9 Oct 2002 11:09:13 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.12.5/8.12.5/Submit) id g9999CW2083670; Wed, 9 Oct 2002 11:09:12 +0200 (CEST) Date: Wed, 9 Oct 2002 11:09:12 +0200 (CEST) Message-Id: <200210090909.g9999CW2083670@lurza.secnetix.de> From: Oliver Fromme To: freebsd-questions@FreeBSD.ORG Reply-To: freebsd-questions@FreeBSD.ORG Subject: Re: help with ln "linking" Please! [attn manpage authors!] In-Reply-To: X-Newsgroups: list.freebsd-questions User-Agent: tin/1.5.4-20000523 ("1959") (UNIX) (FreeBSD/4.6-STABLE (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit 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 Gary W. Swearingen wrote: > ln [-fhinsv] linked_filename [link_filename] > ln [-fhinsv] linked_filename ... dir_filename > link existing_filename alternate_filename > > This is cleaner, but I think "filename" should be standard in filenames. But it is not a filename. > > True. /etc/malloc.conf is a nice example of cases that this holds > > true, and the 'source' doesn't have to be a real file, or exist at all > > for that matter. > > Yuck; malloc.conf is nasty. No, it's extremely useful and efficient. There should be more software using symlinks like that. (BTW, Netscape does it for its lockfile, too, even though efficiency isn't much of an issue in that case.) Also, symlinks are an easy way to atomically check and create lockfiles in shell scripts. Regards Oliver -- Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. "All that we see or seem is just a dream within a dream" (E. A. Poe) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message