Re: How to preserve soft link creation times in copy/move?



Randal L. Schwartz wrote:
"Winnie" == Winnie Lacesso <phpwl@xxxxxxxxxxxxx> writes:

Winnie> We wish to migrate a filesystem from one machine (hardware RAID5 ) to
Winnie> another, whilst preserving everything including soft-link creation times.

Since Unix has neither "soft links" nor "creation time", what is it you're
actually trying to preserve?

I'm guessing what they're trying to achieve can be described like this:

They want to be able to do this:

touch a
ln -s a b

Then they want to be able to "migrate the filesystem", i.e. copy the files
to another filesystem, and still see the same output from "ls -l b". It's
a little distressing if you make a supposedly-exact copy of something and
then "ls" shows that they're not really the same.

- Logan
.



Relevant Pages