Even though the data segment maps a file, it is a private memory mapping, which means that updates to memory are not reflected in the underlying file.
尽管数据段映射了文件,但这种内存映射是私有的,也就是说,数据段的内存更新不会在其映射的文件中生效。
Here, the layout enumerates the servers that hold the pieces of the file, the size of the stripe on each server, and the NFS file handle of each segment.
在这里,布局枚举持有文件片段的服务器、每个服务器上文件片段的大小,以及每个片段的NFS文件句柄。
The text segment also maps your binary file in memory, but writes to this area earn your program a Segmentation Fault.
文本段同样会将二进制文件映射到内存,但文件映射区域的写入操作只能以程序收到段错误而告终。
应用推荐