You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The fact the Brimcap root consists of symbolic links is an implementation detail that the user probably shouldn't need to be aware of in order to understand what went wrong here. A few things come to mind:
The error message could be improved to something like "a capture file named wrccdc.pcap already exists in the brimcap root"
Perhaps we need a command (brimcap rm?) that unlinks files from within the Brimcap root
So the user can review what's in the root (e.g. to see if the conflicting wrccdc.pcap is the same one they're trying to load, or just to review what's in there before deleting stuff) perhaps they also need a way to list information about what's already in the root (brimcap ls?)
There's the potential for a user to load different files of the same name from different locations in the filesystem. @mattnibs and I talked about this offline and he acknowledged that at some point we could do something like have the contents of the Brimcap root be unique (e.g. filenames based on hashes) with metadata that points to filesystem locations. That said, at the moment I do find it mildly convenient to be able to ls -l the contents of the Brimcap root and see what's in there, so this would probably further make the case for something like the brimcap ls proposed above so the user can see a processed summary of what's in the root.
The text was updated successfully, but these errors were encountered:
Thanks to the changes in #37, the error shown in this issue no longer happens. Instead a re-load of the same pcap completes successfully, generating duplicate records in the destination Space. It would likely be a mistake if a user were to do this, so #45 has now been opened to consider if we should warn/prevent this somehow. Also, the ability to maintain the Brimcap root through commands like brimcap ls and brimcap rm still seems like it would be handy, so #46 has been opened to track that.
If I've previously done a
brimcap load
of a pcap of a particular filename, and attempt it again, the error I see as a user:The fact the Brimcap root consists of symbolic links is an implementation detail that the user probably shouldn't need to be aware of in order to understand what went wrong here. A few things come to mind:
wrccdc.pcap
already exists in the brimcap root"brimcap rm
?) that unlinks files from within the Brimcap rootwrccdc.pcap
is the same one they're trying to load, or just to review what's in there before deleting stuff) perhaps they also need a way to list information about what's already in the root (brimcap ls
?)ls -l
the contents of the Brimcap root and see what's in there, so this would probably further make the case for something like thebrimcap ls
proposed above so the user can see a processed summary of what's in the root.The text was updated successfully, but these errors were encountered: