delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2002/06/10/21:26:18

Date: Mon, 10 Jun 2002 20:23:48 -0400
Message-Id: <200206110023.g5B0NmY22830@envy.delorie.com>
X-Authentication-Warning: envy.delorie.com: dj set sender to dj AT delorie DOT com using -f
From: DJ Delorie <dj AT delorie DOT com>
To: djgpp-workers AT delorie DOT com
In-reply-to: <3D052A8B.9130E7EF@phekda.freeserve.co.uk> (message from Richard
Dawe on Mon, 10 Jun 2002 23:39:07 +0100)
Subject: Re: FSEXT hooks and symlinks
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1020610155657 DOT 25837B-100000 AT is> <1023716516 DOT 31679 DOT 5 DOT camel AT bender DOT falconsoft DOT be> <3D052A8B DOT 9130E7EF AT phekda DOT freeserve DOT co DOT uk>
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> unlink: removes the symlink, i.e. doesn't dereference the symlink
> remove: removes the target of the symlink, i.e. resolves the symlink

No.  Linux (and every other *nix I can remember) doesn't do this -
it's always the symlink that's removed, never the target.  I don't
think there *is* a way to remove the target of a symlink without
reading the symlink yourself and figuring out what it's pointing to.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019