While I think using "locate" to search files on my disks (C: and externals) would be quite useful, I worry the likelihood using locate and/or (sudo) updatedb might cause some serious problems on the Windows system (C:). For example on the other day I used "stat" to a bunch of files including some system files or kinds, the WSL stopped working and unable to kill, I needed to reboot the machine. Fortunately it seemed it didn't cause any problem on my machine, I'm concerning using locate or updatedb to scan all the files may make WSL crash or at worst make Windows system crash.
So, is it safe to use locate/updatedb on Windows WSL linux (ubuntu etc)?
locate
command in WSL with aLOCATE_PATH
variable to search both the Linux and Windows dbs.