Incidentally, you can also lock down the USB device IDs in the /etc
hotplug config, but since you're looking specifically for the
filesystem, the UUID approach is more precise.

  Tim

On Mon, 2011-02-07 at 16:20 -0500, Tim Holloway wrote:
> Yep. Mount on the filesystem's UUID instead of the device name.
> 
> On Mon, 2011-02-07 at 16:00 -0500, Whit Hansell wrote:
> > Hey guys.  Picked up an external drive a few days ago and set it up just 
> > fine.  Using AMD64 Lenny on Assus board.  External drive is a bakup 
> > drive w usb connection and separate p/s.
> > 
> > Have two hd's on box plus this external drive.  Use linux on one hd, XP 
> > on a separate drive and reboot back and forth on occasion as needed.   
> > Partitioned new external to reduce Windows partition and add Linux 
> > partition.  All works fine.  No problemo' there.  No problemo' w. other 
> > situation either.
> > 
> > But where I am having problem is that when I come back into linux from 
> > XP, a restart from XP,  linux changes the mount point on my usb various 
> > drives, externala and stick drives which are also attached.
> > 
> > Am using rsync in a script I wrote and so when I want to backup it's 
> > easy, except now the mount  point is different.
> > 
> >  Is there any way to lock in the mount point on the external drives by 
> > editing a file somewhere?   I've googled all over and all I can find is 
> > people having problems with the name being changed, not the mount 
> > point.  The name in fstab is the same (/dev/sdd2) and the drive info.  
> > AMD64 automounts the drive and sticks an icon in the tray automatically 
> > on bootup but, again, changes the mount point so when I try to run my 
> > sccript, it's no longer looking at the correct  usbport.   I am not 
> > moving the drives at all.  The system is changing the usb port names on 
> > reboot all by itself.  Usb0, Usb1,Usb2, etc.
> > 
> > I assume someone has added an external usb drive and had the same 
> > problem and am just wondering how you solved it.  Thanking you in 
> > advance for any help.
> > 
> > fstab entry:
> > /dev/sdd2    /media/usb0    ext3    user,noauto,rw    0    0
> > 
> > script lines:
> > #/bin/bash
> > rsync -vrlptg --delete /home/whit/ /media/usb0/home/whit
> > 
> > Again, this  worked fine before my reboot, but now the drive /dev/sdd2 
> > is on mountpoint /media/usb1, not /media/ usb0.
> > 
> > gracias amigos, por favor.
> > 
> > Whit
> > 
> > 
> > ---------------------------------------------------------------------
> > Archive      http://marc.info/?l=jaxlug-list&r=1&w=2
> > RSS Feed     http://www.mail-archive.com/[email protected]/maillist.xml
> > Unsubscribe  [email protected]
> 
> 
> 
> ---------------------------------------------------------------------
> Archive      http://marc.info/?l=jaxlug-list&r=1&w=2
> RSS Feed     http://www.mail-archive.com/[email protected]/maillist.xml
> Unsubscribe  [email protected]



---------------------------------------------------------------------
Archive      http://marc.info/?l=jaxlug-list&r=1&w=2
RSS Feed     http://www.mail-archive.com/[email protected]/maillist.xml
Unsubscribe  [email protected]

Reply via email to