How to make mmap() a large range of memory which is larger than the total size of physical memory and swap successfully? Short answer: Adding the MAP_NORESERVE flag to mmap() to make it not reserve any swap space for the mapping. For example: rr_addr = mmap((void*)i, len, PROT_READ|PROT_WRITE, MAP_ANON|MAP_PRIVATE|MAP_NORESERVE, -1, 0); More details in: http://stackoverflow.com/questions/4803152/mmap-fails-when-length-is-larger-than-4gb Answered […]
How to find hard links to a file in Linux? To find out all hard links to file1: $ find /home -xdev -samefile file1 Read more: http://linuxcommando.blogspot.com/2008/09/how-to-find-and-delete-all-hard-links.html Answered by SA.
my os is turnkey-gitlab-12.0-squeeze-x86 it include some useful tools gitlab gitolite webmin and so on it easy to install not only on vistualbox but only on a real pc.avoid update and install a lot of packages and soft by cmd . i am a new linuxer so i am afraid of cmd .i was used […]