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

Re: Changed device for camera..



On Tue, 19 Feb 2008, Ron Johnson shared this with us all:
>--} On 02/18/08 19:49, Charlie wrote:
>--} > On Tue, 19 Feb 2008, cothrige shared this with us all:
>--} >
>--} > <large snip here>
>--} >
>--} >> --} Have you considered, though, using /dev/disk/by-uuid instead?  As
> far as --} >> I --} can tell that link never changes and is very specific
> to the device --} >> --} itself.  For instance, on my system when I plug in
> my Sansa above there --} >> --} is created in /dev/disk/by-uuid a symlink
> 3874-E1C0 which points to --} --} >> /dev/sda1.  In my fstab I just have
> UUID=3874-E1C0 instead of --} >> --} /dev/sda1 and it mounts up just fine. 
> And no mucking about with udev at --} >> --} all.
>--} >> --}
>--} >> --} Good luck,
>--} >> --}
>--} >> --} Patrick
>--} >
>--} > Further to the above. Thanks for your good wishes Patrick.
>--} >
>--} > I got that working and changed the entry in my /etc/fstab accordingly.
> Also --} > for my USB stick, though I have never had any problem with
> mounting that. --}
>--} Let's see your udev rule!!!
>--}
>--} --

# KERNEL=="sda1", SUBSYSTEMS=="usb", {serial}=="X11017714", SYMLINK+="cam"

As in a couple of emails previously.

I didn't edit the /etc/udev/rules.d/which-one-of-the-18? directly. But used 
the command as root as above with the various attributes trials. But as I 
said it choked on the ATTRS of every kind. No point in adding something 
directly that would not be accepted? Not that I will be doing anything there 
anyway at this time because it's not required, but which rule? No...... I 
shouldn't have to edit this manually, not even when the system is testing I 
don't think.

But it's fine now anyway with the uuid in fstab, that should stop any future 
confusion by the system.

Thanks for your, Patricks and Kushal's help.

Be well
Charlie
-- 
Registered Linux User:- 329524
**********************************************************
Didn't I tell you it was there? You could have found it without any trouble. 
The south wind is warm, the sun shines peacefully. --------------- JAKUSHITSU
<<<<<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Debian - Just the best way to do magic.


Reply to: