paulhoule / tentacruel

MIT License
0 stars 0 forks source link

How stable are identifiers produced when a USB stick is plugged into different devices? #19

Closed paulhoule closed 5 years ago

paulhoule commented 5 years ago

Here are identifiers for a directory on the player in the Kitchen:

sid=-1481331573
cid=m-2e55f82f-9be3-4d01-3588-b93ff4e254ec/fol/Bugle_Calls
paulhoule commented 5 years ago

On the HEOS 3 that is plugged in the Living room now I see:

sid=278778971
cid=m-2e55f82f-9be3-4d01-3588-b93ff4e254ec/fol/Bugle_Calls
paulhoule commented 5 years ago

In Room 23 I see:

sid=277499542
cid=m-2e55f82f-9be3-4d01-3588-b93ff4e254ec/fol/Bugle_Calls

Note the the sid is different in every case but the cid stays the same. I think the CID could be derived by a volume identifier of the USB stick.

paulhoule commented 5 years ago

Ok, I have a Samsung Stick that has very nearly the same files as the cheap stick. The Samsung Stick looks like this:

sid=277499542
cid=m-9787465e-a835-cdbd-73a1-6768ed02cdd8/fol

so it appears that the sid represents the slot on the device, and the cid represents the usb stick.