```c++
for (auto it = systems.begin(), end = systems.end(); it != end; ++it) {
   if (it->second == oldSystem) {
      it->second = newSystem;
   }
}
```

Yes, any that match, something like the above.  Who cares what prefixes were used to mount the same system?

-[Unknown]