D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Mounting USB external hard drive with same device every time?

 

Robin Cornelius wrote:
> Rob Beard wrote:
> 
>> Thanks for that Robin, it worked!
>>
>> The drive is now detected as usbhd*
>>
>> All I need to do now is crack automatically mounting the drive when it 
>> is plugged in.  By the way, if it helps I'm using Debian 4.0 (text only 
>> install).
>>
> 
> As part of the udev rules you can run commands i believe? so if you set
> up fstab can you then call mount /umount as necessary. Or use an
> automounter deamon.
> 
> What about the autofs debian package? does the kernel have automount
> built in and this is the userspace to go withit i forget!
> 

I did add in a RUN+="/bin/mount /mnt/backup" command but that didn't 
seem to do anything.

I'll have another look tomorrow.  Thanks anyway for your help with the 
udev rules.

Rob



-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html