Re: mapping usb disks to devices

2017-08-17 Thread Tzafrir Cohen
On Wed, Aug 16, 2017 at 10:21:59PM +0300, Gabor Szabo wrote: > 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

Re: mapping usb disks to devices

2017-08-16 Thread Gabor Szabo
Excellent. Thank you! Gabor On Wed, Aug 16, 2017 at 10:23 PM, Shay Gover wrote: > Use blkid. > > On Wed, Aug 16, 2017 at 10:21 PM, Gabor Szabo wrote: >> >> Hi, >> >> I have a USB hub connected to my Raspberry Pi and I have several >> external Hard disks

Re: mapping usb disks to devices

2017-08-16 Thread Shay Gover
Use blkid. On Wed, Aug 16, 2017 at 10:21 PM, Gabor Szabo wrote: > 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