Re: how to detect a hard link in Java?



In article <qot3boqhanu.fsf@xxxxxxxxxxxxxxxxxxxxxx>,
Jussi Piitulainen <jpiitula@xxxxxxxxxxxxxxxx> wrote:
>
>Now there is a file that is known by the names "foo" and "bar", and
>neither of them is its original name. Which should be the canonical
>name? Maybe "bar" because it is alphabetically earlier. The aliases
>might be in different directories, and then a shorter path might be
>more canonical.

Of course, if the shorter path is /tmp/foo, then perhaps the other one
(whatever it is) should be considered canonical :-)

Cheers
Bent D
--
Bent Dalager - bcd@xxxxxxx - http://www.pvv.org/~bcd
powered by emacs
.



Relevant Pages