This seems like a good option if it can't be done directly with udev. It would be less clean a solution though, as now every usb disk I'd insert would get treated the same way.<br><br>Ideally I'd actually like to do a reverse procedure as well: when I plug in a USB harddrive, I'd like the pictures to be backed up on it. This seems possible thanks to the flexibility of udev, but a lot harder to realise via the approach below.<br>
<br>Is this ke-recv daemon being triggered by udev, or is that a separate way of working altogether?<br><br><div class="gmail_quote">2009/10/9 Kimmo Hämäläinen <span dir="ltr"><<a href="mailto:kimmo.hamalainen@nokia.com">kimmo.hamalainen@nokia.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="h5"><br>
<br>
</div></div>The ke-recv daemon does the auto-mounting using the /usr/sbin/osso-mmc-<br>
mount.sh (which is also used for memory cards) shell script. You could<br>
modify the script so that you execute your autoPicturesImport.sh if a<br>
file system was mounted over USB by osso-mmc-mount.sh. You can see those<br>
from the mount point argument, which is prefixed with "/media/usb" when<br>
such a file system is about to be mounted.<br>
<font color="#888888"><br>
-Kimmo<br>
</font><div><div></div><div class="h5"><br>
><br>
> Thanks in advance for your insight!<br>
><br>
> Best regards,<br>
> Frederik<br>
><br>
><br>
<br>
</div></div></blockquote></div><br>