Testing for BusyBox 1.2.2.
Robin Farine
robin.farine at terminus.org
Wed Oct 18 05:38:47 PDT 2006
On Wed October 18 2006 13:13, Natanael Copa wrote:
> Looks like there is a fundamental design error. I can't
> understand how this have ever worked (must have coded it late
> late overtime...).
>
> Looks like the /proc/$PID/exe always point to busybox not to the
> app link, which means there is no way to tell the exec name
> without using cmdline.
My understanding is that if the link is a hard link
then /proc/PID/exe points to the hard link. If the link is a soft
link then /proc/PID/exe points to the name that results from
dereferencing the soft links.
> Why did this work when I tested it? I rember I did. Does
> different kernels hadle this differently?
If I am correct, when it worked you were using hard links to busybox
but now you are using soft links ?
Robin
More information about the busybox
mailing list