[Top][All Lists]

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

Soft links not being replaced by hard links (2.0.6)

From: Chip Seraphine
Subject: Soft links not being replaced by hard links (2.0.6)
Date: Thu, 26 Jun 2003 13:48:34 -0500
User-agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.2.1) Gecko/20030121

I have a soft link (/etc/rc3.d/S99cfengine, points to /etc/init.d/cfengine) that I wish to replace with a hard link in order to be more Sun-ish. So, under links: I put a line like this:

/etc/rc3.d/S99cfengine  ->! /etc/init.d/cfengine type=hard

I am expecting that the '!' will cause cfengine to wipe out the old soft link and replace it with a hard link. Instead, I get:

cfengine:moops: Hard link (/etc/rc3.d/S99cfengine->/etc/init.d/cfengine) exists and is okay.

It would appear that cfengine somehow thinks this is a hard link and not a soft one pointing at the same target.

reply via email to

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