Subject: bug#6138: mv while maintaining relative symbolic links

From: "Voelker, Bernhard" <[email-masked]>
Date: Mon, 10 May 2010 15:45:35 +0200

Peng Yu wrote:
> On Mon, May 10, 2010 at 4:37 AM, Voelker, Bernhard wrote:
>> you need a reference to the actual inode, don't you?
>> So what a about using hardlinks?
>
> Harlinks do not work across filesystems. I think that it is better
> stick with symbolic links.

you are right, of course.
You'll have to decide what you need:
either you want to have a stable filename (then you use symlinks),
or you want a stable inode reference (then you use hardlinks,
unless you're on a different filesystem) ... or like Bob wrote:
write your own shell script for that situation.

Have a nice day,
Berny