From: skeezix Date: Mon, 15 Feb 2010 19:28:52 +0000 (-0500) Subject: Added a param to inotify flags; seems to detect removal of SDs much better now X-Git-Tag: Release-2010-05/1~115^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=693c7490230a210dd10ecbfd44c9af1907a259e3;p=pandora-libraries.git Added a param to inotify flags; seems to detect removal of SDs much better now --- diff --git a/lib/pnd_notify.c b/lib/pnd_notify.c index 55127b8..83e8d8d 100644 --- a/lib/pnd_notify.c +++ b/lib/pnd_notify.c @@ -22,7 +22,7 @@ static int notify_handle; #define PND_INOTIFY_MASK IN_CREATE | IN_DELETE | IN_UNMOUNT \ | IN_DELETE_SELF | IN_MOVE_SELF \ - | IN_MOVED_FROM | IN_MOVED_TO + | IN_MOVED_FROM | IN_MOVED_TO | IN_MODIFY pnd_notify_handle pnd_notify_init ( void ) { int fd;