Manage multiple devices attachements (as this may changed based on linux version).