truss missing some files or directories

Ilya Vishnyakov ilya at edpausa.com
Wed Dec 20 11:23:56 PST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
 
- -------- Original Message  --------
Subject: Re:truss missing some files or directories
From: LI Xin <delphij at delphij.net>
To: Ilya Vishnyakov <ilya at edpausa.com>
Cc: freebsd-stable at freebsd.org
Date: Wednesday, December 20, 2006 1:42:35 PM
> Ilya Vishnyakov wrote:
>> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
>>
>> 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
>>
>>
>> uname -a output:
>>
>> FreeBSD mars.mysite.com 6.1-RELEASE-p10 FreeBSD 6.1-RELEASE-p10
>> #2: Thu Nov  2 13:58:09 UTC 2006     root at mars.mysite.com
>> :/usr/obj/usr/src/sys/MARS  amd64
>>
>> Thank you.
>
> You should do mount_procfs procfs /proc before doing truss.
>
> Cheers,
thank you
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
iD8DBQFFiYVXbE0+gtjqpZoRAuXvAJ91CQCNIBJWRBCFU6PRmP3RlySxgwCeL7rh
J5eCpHd17Gccfls2ytz4A8Q=
=Kagm
-----END PGP SIGNATURE-----



More information about the freebsd-stable mailing list