[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to delete links properly?

From: Rune Mossige
Subject: How to delete links properly?
Date: Tue, 26 Feb 2002 10:28:26 +0100
User-agent: Mutt/

I am using 2.0.b1, and I'd like to delete some obsolete symlinks from /
on a number of hosts. What is the recommended way to do this? Is it
advisable to have e.g.:

    / recurse=0 action=fixall links=tidy

Will this delete all symlinks in / that do not point to any existing
file or directory?

If the above is correct, then what about the following scenario:
We have automounter maps called e.g. /prod/xxx and for historical
reasons we also have a symlink from root as
/xxx -> /prod/xxx

If the automounter is running, then /prod/xxx exists, and the symlink
/xxx is not deleted. However, if the automounter is not running, then
/prod/xxx does not exist, and the symlink /xxx will be
this a correct interpretation?

If I want to explicitely specify what symlinks to delete, how should I
do that?

           (-: Hiroshima 45, Chernobyl 86, Windows 95 :-)
Our ultimate goal is to make overloaded systems appear to be idle.
High performance, High reliability, Low cost -------- Pick any two.
Rune  Mossige,  Systems  Support  Engineer,  WesternGeco, Stavanger
Tel: (+47)51946869                             Mobile:(+47)90871024

reply via email to

[Prev in Thread] Current Thread [Next in Thread]