Re: udev lvm permisions

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

 



On Mon, Dec 15, 2008 at 18:21, Geert Geurts <begeert@xxxxxxxxx> wrote:
> Thanks allot everyone for your time!
> I don't have time to work on this problem right now I think I'll try
> somethings tomorrow.
> Can't I just create a rule something like:
> KERNEL=="device-mapper", NAME=="mapper/HomeGroup-HomeVolume",
> group="users", MODE=660
>
> that should work no?

There is no KERNEL=="device-mapper" for your volume, it's just a block
device named "dm*". Also, we should not change kernel device names, if
not needed, but create symlinks to it.

And we should not overwrite /dev/mapper/ links as long as libdevmapper
is not aware of udev poking in its "private" files. Changes to /dev
need to be serialized and atomic in its operations, and two processes
touching the same files just asks for trouble.

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

[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux