From owner-freebsd-current Sat Jun 16 3:22:30 2001 Delivered-To: freebsd-current@freebsd.org Received: from smtp.wanadoo.nl (larry.euronet.nl [194.134.35.138]) by hub.freebsd.org (Postfix) with ESMTP id 87E9937B403 for ; Sat, 16 Jun 2001 03:22:27 -0700 (PDT) (envelope-from steveo@eircom.net) Received: from ams-gw.sohara.org (p1210.vcu.wanadoo.nl [194.134.203.191]) by smtp.wanadoo.nl (8.11.3/8.11.3) with SMTP id f5GAMEN04748; Sat, 16 Jun 2001 12:22:18 +0200 (MEST) Date: Sat, 16 Jun 2001 12:22:11 +0200 From: "Steve O'Hara-Smith" To: Bruce Evans Cc: david@catwhisker.org, current@FreeBSD.ORG Subject: Re: symlink(2) [Was: Re: tcsh.cat] Message-Id: <20010616122211.5aadca50.steveo@eircom.net> In-Reply-To: References: <20010616085651.29684596.steveo@eircom.net> X-Mailer: Sylpheed version 0.4.99cvs3 (GTK+ 1.2.10; i386-unknown-freebsdelf4.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, 16 Jun 2001 17:27:00 +1000 (EST) Bruce Evans wrote: BE> > This is correct behaviour IMHO - why on earth should it fail. If I BE> > copy a directory containing symlinks I don't want them do vanish just because BE> > the target is unavailable. BE> BE> Because cp copies file contents, not file nodes (unless the -R flag is BE> specified). This is clarified in current POSIX drafts. gnu cp gets BE> this right. *WHAT*, let me get this straight POSIX drafts now suggest that cp *should* turn a symlink into a file ? I truly dread to think how much that would break. Please tell me I have the wrong end of the stick here, failing that someone please tell me that FreeBSD will not follow this madness. Hang on, the target of a symlink *is* the content of the symlink not the content of the file that may or may not be at the target. At least it always used to be that way. -- Directable Mirrors - A Better Way To Focus The Sun http://www.best.com/~sohara To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message