From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Schmitt Date: Mon, 08 Jun 2009 14:42:12 +0000 Subject: Re: udev rule for unmount action Message-Id: <200906081642.13033.chris@ilovelinux.de> List-Id: References: <200906061702.10974.chris@ilovelinux.de> In-Reply-To: <200906061702.10974.chris@ilovelinux.de> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Monday 08 June 2009 14:38:26 Karel Zak wrote: > > /proc and inotify are not good friends, but you can use poll() / select() > > Karel Sorry, but I do not want to write a C program, but a script. So I'd need a way to accomplish the detection of an unmount event in the script. As I'm using HAL there should be a way to do it without using inotify manually on /proc/mounts. Chris