Re: Force usb drive to /dev/sdb1 ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Gene Smith wrote:
> I have a permanently connected usb hard drive for backups and it is
> typically at /dev/sdb1. However, if I have other usb devices, such as a
> SD card reader connected at boot, the backup drive moves to /dev/sdb2. I
> do the backup by having cron run a script which mounts /dev/sdb1 and it
> fails when the backup devices is at /dev/sdb2 (or it might mount the
> card reader instead).
> 
> Is there a way to ensure that the backup usb drive is *always* /dev/sdb1
> even when other usb devices are attached during boot?
> 
> Thanks,
> -gene
> 
It would probably be easer to use udev to create a persistent symlink
for the drive. Then use the symlink when you want to access the drive.

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux