A picture is worth a thousand words, so I want to start with that:
From the image you can see that I have a ~500GB hard drive. The filesystem is ext4. On this 500GB hard drive, I have a file that is over 74TB.
I'd love to know how this is possible (obviously some type of disc corruption), but more importantly I'd like to know if the file is safe to delete with, say
rm .npmignore, or if there is another way to get rid of it that would be equally effective.
I'm mainly worried about destroying the data on my disk that follows the start of the impossible file.
For the curious, this file was buried in a repository under the path
node_modules/bower/node_modules/request/node_modules/qs/.npmignore. After moving the file out of the directory and performing a
git checkout .npmignore, I discovered the file really was a text file (duh), and was in fact less than 700 bytes.