[H-GEN] Strace on a binary get full path details on a stat

Anthony Irwin anthony at server101.com
Wed Oct 11 02:42:56 EDT 2006


Clinton Roy wrote:

> 
> My strace manpage says that trucated strings are displayed like this:
> 
> stat("/opt/foo/bar"...)
> 
> so I think you are actually seeing the full string. Also, strings are
> only truncated above 32 characters by default.
> 
> Regardless, the option you asked about is -s, pass it a larger number
> like 1024 and you'll know for sure you're seeing the full string.
> 
> My money is on a broken installer thing :)

Hey Thanks,

I did the -s thing and saw that the path was still 
/opt/jre1.4.../bin/java so I figured because thats not 1024 characters 
that it must actually be /opt/jre1.4.../bin/java that it wants.

Created the symbolic link for it then the stupid thing installed. I 
guess the vendor is as stupid as I originally thought.

Anyway now to see if their software actually works once you install 
it. If I get time I may even send the vendor a bug report and see what 
they say if anything.

Thanks again,

Anthony




More information about the General mailing list