Fix the devmap lock shm file bug; add new code segment for file digest;