Mount usb drive by id

How can I manually mount a usb connected hard drive partition by id rather than by /dev/sdx?

Thanks for any suggestions.

If the drive is connected you can use this terminal command for id:

ls -l /dev/disk/by-id

and for by uuid:

ls -l /dev/disk/by-uuid

and for a short list by device:

lsblk

And then there is findgrub -m, get findgrub here: http://www.unixversal.com/linux/openSUSE/findgrub-4.4.1.tgz

Just to name a few.

Thank You,

Thanks for the quick and simple response. Problem solved.

On 2012-12-06 03:26, ionmich wrote:
>
> How can I manually mount a usb connected hard drive partition by id
> rather than by /dev/sdx?

By giving the device ID. Mount /dev/disk/by-id/something somewhere.

I don’t see the difference or the difficulty :-?


Cheers / Saludos,

Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)