I need something to get the hard link count from a file in a solaris10 os in java.
parsing ls -l is not an option.
I tried using posix for java http://bmsi.c
Also consider trying the jnr-posix implementation of stat(2) for this.