Don't use hard links for dashboard files

Issue #125 resolved
Brad created an issue

Not positive whether this is a bug or not, but it seems strange that atlasboard generate dashboard ___ hardlinks all the dashboards it creates (the json files in packages/default/dashboards) to the same inode, making them all identical.

This is on Ubuntu 14.04 w/ Node 0.10.25. Atlasboard v1.0.1

(This doesn't appear to happen when generating jobs or widgets)

Comments (7)

  1. Ivan Loire Account Deactivated

    Hey Brad, I am not sure what you mean. Please could you describe with a little more detail the problem you are experiencing?

  2. Brad reporter

    If I generate multiple dashboards (maybe only when they're in the same package), it's as if I did

    ln test.json test2.json
    

    i.e. just multiple files names all pointing to the same underlying file.

    inodes.PNG

    So I end up doing

    rm test2.json
    cp test.json test2.json
    

    in order to have a distinct file that I can edit separately.

    inodes different.PNG

  3. Log in to comment