how to detect a hard link in Java?



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?
thanks a lot

.



Relevant Pages

  • Re: hard links and symbolic links
    ... The first column is the inode number. ... h1...h5 are hard links to file; they share the same inode, ... In practise Unix system calls like openor chownfollow the ... symbolic link, ...
    (comp.unix.shell)
  • Re: link
    ... SCO Xenix and/or UNIX ... Linux isn't UNIX - hasn't worked on any Linux I've tried it on - even ... definitely supports multiple hard links on directories on UNIX. ...
    (comp.unix.shell)
  • Re: UFS2 optimization for many small files
    ... On Mar 12, 2008, at 12:23 PM, Angelo Turetta wrote: ... out any cause in the file systems: ... I believe Cyrus will create hard links if the same email message is kept in multiple folders. ...
    (freebsd-questions)
  • Re: connect a dbase table with non-standard extension
    ... I didnt even know there were hard links in windows - I use them in unix all ... Hard links are fraught with danger until you know what ...
    (microsoft.public.access.modulesdaovba)
  • Re: file link Windows behavior
    ... The more appropriate question is "which file systems will this work on?" ... No. They're hard links, hence indistinguishable. ... term held the same meaning for Windows NTFS systems. ...
    (comp.lang.tcl)