Mailinglist Archive: opensuse-factory (715 mails)
| < Previous | Next > |
Re: [opensuse-factory] Udisks2
- From: Greg KH <greg@xxxxxxxxx>
- Date: Fri, 30 Mar 2012 10:10:29 -0700
- Message-id: <20120330171029.GC21178@kroah.com>
On Fri, Mar 30, 2012 at 07:19:52PM +0400, Ilya Chernykh wrote:
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@xxxxxxxxxxxxxxx list, not here.
good luck,
greg k-h
--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx
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@xxxxxxxxxxxxxxx list, not here.
good luck,
greg k-h
--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx
| < Previous | Next > |