Re: how to detect a hard link in Java?
- From: Gordon Beaton <not@xxxxxxxxx>
- Date: 31 Aug 2005 09:36:50 +0200
On 30 Aug 2005 18:39:47 -0700, jojo wrote:
> I have an application need to detect the hard links within the unix
> file systems. how to detect it and how to get the target path of this
> link points to in Java?
It isn't possible (java or not).
A "hard link" is simply a directory entry that refers to an inode, in
common terms a filename. Files in unix can have multiple names
(without using symbolic or soft links), and none of them has any
precedence over the others.
In java terms, this is equivalent to holding several references to a
given object. All of them are equivalent.
/gordon
--
[ do not email me copies of your followups ]
g o r d o n + n e w s @ b a l d e r 1 3 . s e
.
- References:
- how to detect a hard link in Java?
- From: jojo
- how to detect a hard link in Java?
- Prev by Date: Re: how to detect a hard link in Java?
- Next by Date: Re: how to detect a hard link in Java?
- Previous by thread: Re: how to detect a hard link in Java?
- Next by thread: Re: Software Engineers required for USA
- Index(es):
Relevant Pages
|