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

Re: Udev and storage devices



On Sat, 31 Dec 2005 10:26:28 -0500
Colin <cwvca_SPAMNOT@hotmail.com> wrote:

> Jacob S wrote:
> > It took a lot of experimentation and playing around, but I finally
> > got a working combination. My /etc/udev/rules.d/010_local.rules
> > file now looks like this:
> > 
> > BUS="scsi", SYSFS{vendor}="OLYMPUS ", KERNEL="sd*", NAME="camera%n",
> > SYMLINK="%k", OWNER="user", GROUP="mygroup"
> > 
> > BUS="scsi", SYSFS{model}="USB Flash Memory", KERNEL="sd*",
> > NAME="usbkey%n", SYMLINK="%k", OWNER="user", GROUP="mygroup"
> 
> I'm nitpicking a bit but I'd switch the NAME and SYMLINK params around
> for both entries.

I would agree with you, except I found autofs wouldn't work with
symlinks. It wanted to be pointed at the real device. So I put the name
and symlink params to their current values. 

I also would have avoided autofs, except that I couldn't find a KDE
equivalent to hal. 

Jacob



Reply to: