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 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: <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 Precedence: bulk > 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.