Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Q] What is the dummy.txt used for? #897

Closed
nikobearrr opened this issue Jun 12, 2020 · 2 comments
Closed

[Q] What is the dummy.txt used for? #897

nikobearrr opened this issue Jun 12, 2020 · 2 comments
Labels

Comments

@nikobearrr
Copy link

Hello, I can see I have a dummy.txt in the storage/whisper folder which shows in the grafana when looking at the graphite data source. I was wondering where it came from since I don't produce such metric so I found it here:

storage_dirs = [ ('storage/ceres/dummy.txt', []), ('storage/whisper/dummy.txt',[]),

I am interested to know why is that there and why it needed?

@nikobearrr nikobearrr changed the title [Q] [Q] What is the dummy.txt used for? Jun 12, 2020
@ploxiln
Copy link
Contributor

ploxiln commented Jun 12, 2020

The only purpose is so that the install process creates those directories. You might see a ".keep" file used for the same purpose by some other software projects on linux systems.

I think that the first step towards getting rid of the need for these "dummy.txt" files is #835

@nikobearrr
Copy link
Author

Hi @ploxiln, thanks for the explanation. What was weird was that dummy.txt is it looks like a file, but indeed is a directory. However, your answer answers my question so I am closing this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants