Re: [patch 2/2] fs, proc: Introduce the /proc/<pid>/map_files/ directory v6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

On Thu, Sep 01, 2011 at 07:04:42PM -0700, Nicholas Miell wrote:
> So are the filenames in /proc/$PID/map_files/ guaranteed to be identical
> to the first field (first two fields? the part before the first space)
> in /proc/$PID/maps?

Yeap, naturally.

> When I open a file in /proc/$PID/map_files/, is offset 0 the start of
> the file on disk or is it the first byte of the mapping?

It shows the same backing file so of course uses the same offset as
the file on disk.

Thanks.

-- 
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux