endless loop on missing /etc/mime.types
Closed this issue · 1 comments
CharlieAt commented
Hi Russ!
as per title, if /etc.mime.types does not exist then the parser in s3fs.cpp ('// load the list of mime types') goes into an endless loop as eof never goes to true and the process then uses 100% cpu.
quick fix was to create an empty mime.types.
regards
charlie
russross commented
Thanks for the report!
I've patched it to watch for that situation. Please let me know if it still fails for you.
Thanks,
Russ