You must use sys_,map_paths for that, not sys_,map_path.
If you do so, remember there are 3 arguments, `sys_map_paths(NULL, NULL,0);
FYI
Mappings must be added with the FLAG_TABLE flag in order to get deleted this way.
The flag is added automatically when creating mappings with sys_,map_paths, but you can also manually provide that flag as an argument with single mapping creation through sys_,map_path.
This method would delete in one sweep all mappings added with FLAG_TABLE, the ones you may have added as well as any other apps that used it like wMM.
It won't delete other mappings created without the FLAG_TABLE flag or protected with the FLAG_PROTECT flag.
Got it
Maybe i should stick with unmapping indivial files as all my mappings via HEN has FLAG_PROTECT flag, if i understood right, they won't be unmapped this way, right?
