开发者

could not find /proc/self/maps

开发者 https://www.devze.com 2023-02-21 07:52 出处:网络
I\'m using FreeBSD 7.3 (64 bit). When I try the command \"cat /proc/self/maps\",I get an error as, \"cat: /proc/self/maps: No such file or directory\". What should I do to resolve this 开发者_运维百科

I'm using FreeBSD 7.3 (64 bit). When I try the command "cat /proc/self/maps", I get an error as, "cat: /proc/self/maps: No such file or directory". What should I do to resolve this 开发者_运维百科?


AFAIK, procfs isn't mounted by default in FreeBSD, so you should do it by yourself. Type as root:

mount -t procfs proc /proc

Or even better: add to /etc/fstab:

proc /proc procfs rw 0 0
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号