I've got a lot of files named 0
all over the place on my filesystem. They contain some digits (mostly also zeroes) inside.
I'am wondering what they are and where they came from? I'm running OS X Lion Developer Preview 3, but I'm not sure if that's the case.
Best Answer
You might try running the command
in a terminal window. The
dtrace
output will list the process ID, process name, and filename argument for anyopen()
call with theO_CREAT
flag set, meaning it will create the file if it does not already exist. Drop the final grep bit if you want to see all potentially file creatingopen()
calls, but then the output might possibly overwhelm you. Hit ctrl-C when you're done with it.If something keeps creating files named
0
, the culprit ought to show up in the output.(Edit: Fixed the grep invocation.)