On Mon, Dec 15, 2008 at 16:24, Geert Geurts <begeert@xxxxxxxxx> wrote: > Thanks for your reply! > Indeed it's about a logical volume I want to mount as a normal user. > > I've already had discussion with Michal Soltys, > he sugested to create a rule according to the following: > ACTION!="add|change", GOTO="dm_end" > KERNEL!="dm*", GOTO="dm_end" > > PROGRAM="/sbin/dmsetup info -c --noheadings -o uuid -j%M -m%m", > ENV{DM_UUID}="%c" > > ENV{DM_UUID}=="LVM-N28qi20mqjyPR150TYivmJzvkn8zzpi2VEhSFspDTiAxn2GLFC7xJ8Lfh12dmGH0", GROUP="users", MODE=660 > > LABEL="dm_end" > > > I've created this rule but it applies to the kernel device... /dev/dm-*. > What I need is a rule that changes the ownership > of /dev/mapper/HomeVolume. > > Thats where I stand now, > so any suggestions are welcome! All the device-mapper/lvm tools are disconnected from udev, and mess around in /dev on their own. No user higher in the layers udev/HAL/DeviceKit/Desktop has a clue what device-mapper did here. On many distros you should be able to use the (workaround the issue) /dev/disk/by-id/dm-{uuid,name}-* links maintained by udev. Thanks, Kay -- To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html