From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Kay Sievers" Date: Mon, 15 Dec 2008 17:37:37 +0000 Subject: Re: udev lvm permisions Message-Id: List-Id: References: <1229336451.19633.4.camel@linux-pqqd.site> In-Reply-To: <1229336451.19633.4.camel@linux-pqqd.site> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Mon, Dec 15, 2008 at 18:21, Geert Geurts 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", MODEf0 > > 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