Re: mapping usb disks to devices

Gabor Szabo <[email protected]>
Newsgroups gmane.linux.region.israel
Message-ID <CABe4FJB74643W8Ddn-ovW604uvm+6H93ittKq0J5=XUS2osM3w@mail.gmail.com>
Excellent. Thank you!
Gabor

On Wed, Aug 16, 2017 at 10:23 PM, Shay Gover <[email protected]> wrote:
> Use blkid.
>
> On Wed, Aug 16, 2017 at 10:21 PM, Gabor Szabo <[email protected]> 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 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

_______________________________________________
Linux-il mailing list
[email protected]
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.