truss missing some files or directories

Erwin Lansing erwin at FreeBSD.org
Wed Dec 20 11:07:22 PST 2006


On Wed, Dec 20, 2006 at 01:08:54PM -0500, Ilya Vishnyakov wrote:
> Problem with truss, won't start. Please advise me what to do.
> 
> truss /bin/echo hello truss: truss: cannot open /proc/42520/mem cannot
> open /proc/curproc/mem: : No such file or directory
> No such file or directory
> 
Do you have /proc mounted?

# mount -t procfs proc /proc/

-erwin

-- 
Erwin Lansing                                     http://droso.org
Security is like an onion.          (o_ _o)
It's made up of several layers   \\\_\   /_///    erwin at FreeBSD.org
And it makes you cry.            <____) (____>    erwin at aauug.dk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20061220/bc4e5feb/attachment.pgp


More information about the freebsd-stable mailing list