[CentOS] forcing device to USB HDD

Mon Oct 29 09:57:06 UTC 2007
Lorenzo Quatrini <lorenzo at gmk.it>

Israel Garcia ha scritto:
> Hi, I bought an USB external hdd (500GB) to make my
> backups using dump... but, sometimes my sever
> recognize the hdd device /dev/sdb or /dev/sdc... my
> question is: How can I assign a fixed device for
> example /dev/sdc to my hdd? remember I use some
> scripts to do my backup and I am getting errors
> because the device changes from sdb to sdc and 
> 
> thanks in advance
> Israel
> 
> 
> 
Another quick and dirty way:
put a file (maybe an hiden file) on your device, and on top of your script 
search for that file on the various disks...

Cheers

Lorenzo Quatrini