On Fri, Mar 30, 2012 at 07:19:52PM +0400, Ilya Chernykh wrote:
On Friday 30 March 2012 17:45:33 Greg KH wrote:
udisks --mount /dev/sdb1
Never do that in a udev rule, it is wrong.
I refer you to the thread recently on the linux-hotplug list for why.
This is the archive but I was unable to find the discussion: http://www.spinics.net/lists/hotplug/
I don't recall the exact thread, sorry, but it's there somewhere. The point is that you don't want to do anything that takes a long time from a udev rule, especially one that can cause other events to fire off, like mounting can do. You want the rule to be fast and ideally, just kick off something else that does the real work. That is why udisks was created the way it was. Any further questions you have about this should be on the linux-hotplug@vger.kernel.org list, not here. good luck, greg k-h -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org