Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jul 2004 01:50:40 -0700 (PDT)
From:      Tyler Durdan <ewemasq@yahoo.com>
To:        freebsd-questions@freebsd.org
Subject:   mmap()ed filenames?
Message-ID:  <20040714085040.12143.qmail@web52204.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help
Is there a way to get the filename of an mmap()ed file
in the current process? For example, in Linux I can
open /proc/self/maps and get the filenames right
there. However, if I try to open /proc/getpid()/map on
FBSD, the only mapping info is "vnode" or "default" on
FBSD 4.10-BETA.          
                                                      
                         
Is there any way to convert this info into the
filenames of mapped files?       
                                                      
                         
Or perhaps an alternate method to accomplish this
goal?                         
                                                      
      


		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040714085040.12143.qmail>