From mboxrd@z Thu Jan 1 00:00:00 1970 From: md@Linux.IT (Marco d'Itri) Date: Tue, 18 Aug 2009 22:15:09 +0000 Subject: Re: Getting a mount point once a device has been mounted Message-Id: <20090818221509.GA28705@bongo.bofh.it> List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Aug 18, Paul Kilgo wrote: > I'd like the script to clean any new usb devices that get plugged into > the system. I've been experimenting with the rules but can't find a > good way to get the mount point. Does anyone have any ideas or perhaps > an alternate method? You need to watch /proc/mounts for changes, udev does not deal with this. Hopefully some day upstart it will... -- ciao, Marco