mapping usb disks to devices

mapping usb disks to devices

Gabor Szabo szabgab at gmail.com
Wed Aug 16 22:21:59 IDT 2017


Hi,

I have a USB hub connected to my Raspberry Pi and I have several
external Hard disks connected to the USB hub.
It seems the order the hard disks are mapped to the device files
/dev/sda1 /dev/sdb1 /dev/sdc1 is random. On every boot it might be different.

This of course breaks the mapping I have in /etc/fstab for the mounts.

How can I solve this so I won't need to update /etc/fstab after every boot?

Is there a way to map specific hard disks to specific device files?

regards
   Gabor



More information about the Linux-il mailing list