Two HDDs are switching their device names in Ubuntu Linux


Not like it's a problem so far, but mostly my curiosity. I have 2 disks -- internal and external. The latter is connected via USB3 cable. My Ubuntu install is on the external drive. W10 is inside my laptop (it's a dual-boot system). So usually my internal drive is sda and my external one is sdb in Ubuntu (they're both SATA drives, of course). But today they switched their device names, so the internal became sdb and external became sda. After the reboot everything got back to normal. I personally haven't done anything in this regard. To me that's strange. Maybe someone could explain that to me, please.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

That normally makes little difference, as most modern systems and settings use the UUID of the partition rather than the device name. That way you are flexible.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.