From owner-freebsd-questions Wed Oct 9 12: 6:33 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 C59E037B401 for ; Wed, 9 Oct 2002 12:06:31 -0700 (PDT) Received: from sccrmhc01.attbi.com (sccrmhc01.attbi.com [204.127.202.61]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2A3A743E42 for ; Wed, 9 Oct 2002 12:06:31 -0700 (PDT) (envelope-from swear@attbi.com) Received: from localhost.localdomain ([12.242.158.67]) by sccrmhc01.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20021009190630.GBMY29655.sccrmhc01.attbi.com@localhost.localdomain> for ; Wed, 9 Oct 2002 19:06:30 +0000 Received: from localhost.localdomain (localhost [127.0.0.1]) by localhost.localdomain (8.12.5/8.12.5) with ESMTP id g99J8woS012750 for ; Wed, 9 Oct 2002 12:08:59 -0700 (PDT) (envelope-from swear@attbi.com) Received: (from jojo@localhost) by localhost.localdomain (8.12.5/8.12.5/Submit) id g99J8rwb012747; Wed, 9 Oct 2002 12:08:53 -0700 (PDT) (envelope-from swear@attbi.com) X-Authentication-Warning: localhost.localdomain: jojo set sender to swear@attbi.com using -f To: freebsd-questions@FreeBSD.ORG Subject: Re: help with ln "linking" Please! [attn manpage authors!] References: <200210090909.g9999CW2083670@lurza.secnetix.de> From: swear@attbi.com (Gary W. Swearingen) Date: 09 Oct 2002 12:08:53 -0700 In-Reply-To: <200210090909.g9999CW2083670@lurza.secnetix.de> Message-ID: Lines: 31 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 Oliver Fromme writes: > 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. It's a string which is used by ln(1) and the kernel's directory software for a filename; if people want to misuse it for storing PIDs or control strings or MP3s, that's an abuse of the system which the manual shouldn't bother to accommodate. > > Yuck; malloc.conf is nasty. > > No, it's extremely useful and efficient. ... > Also, symlinks are an easy way to atomically check and create > lockfiles in shell scripts. Useful, efficient, easy -- and yucky, nasty, kludgy. Apt to break if the directory scheme changes or to prevent improvements to same. Maybe it should be: ln string_for_directory filename_to_access_string_by Just kidding. It can't end in a preposition. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message