From owner-freebsd-hackers Thu Feb 20 19:41:50 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id TAA03707 for hackers-outgoing; Thu, 20 Feb 1997 19:41:50 -0800 (PST) Received: from squirrel.tgsoft.com (squirrel.tgsoft.com [207.167.64.183]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id TAA03702 for ; Thu, 20 Feb 1997 19:41:47 -0800 (PST) Received: (from thompson@localhost) by squirrel.tgsoft.com (8.8.5/8.6.12) id TAA00182; Thu, 20 Feb 1997 19:37:58 -0800 (PST) Date: Thu, 20 Feb 1997 19:37:58 -0800 (PST) Message-Id: <199702210337.TAA00182@squirrel.tgsoft.com> From: mark thompson To: hackers@freebsd.com Subject: ln -s -f does unlink of dir Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On my 2.1.6 system i had a directory /usr/src/sys. Elsewhere in the filesystem i stupidly did a ln -s -f /u/FreeBSD/src/* /usr/src. To my immense surprise, ln unlinked /usr/src/sys! fsck'ing /usr proved that this was true. I suppose everybody but me knew about that, though? -mark