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

Re: Force usb drive to /dev/sdb1 ?



I could not find a way.  My USB disk was either /dev/sdb or /dev/sdf.

Instead I labeled the USB disk, ST330083_1A_305,
and then I put the following entry in my /etc/fstab:
/dev/disk/by-label/ST330083_1A_305 /media/usbdisk ext2  user,noauto

I turn it on and can mount it when I need it.

On Thu, 2007-01-18 at 23:44 -0500, 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
> 
-- 
Rick Sewill            tel:+1-218-287-1075 mailto:rsewill cableone net
1028 7th St. N.                               mailto:rsewill gmail com
Moorhead, MN 56560-1568      ymsgr:rsewill   sip:628497 fwd pulver com
U. S. A.               tel:+1-701-866-0266     xmpp:rsewill jabber org


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