[maemo-users] N810 - executing script when digital camera is plugged in and mounted
From: Frederik Vanrenterghem frederik at vanrenterghem.bizDate: Fri Oct 9 14:17:34 EEST 2009
- Previous message: N810 - executing script when digital camera is plugged in and mounted
- Next message: N810 - executing script when digital camera is plugged in and mounted
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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. 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. Is this ke-recv daemon being triggered by udev, or is that a separate way of working altogether? 2009/10/9 Kimmo Hämäläinen <kimmo.hamalainen at nokia.com> > > > The ke-recv daemon does the auto-mounting using the /usr/sbin/osso-mmc- > mount.sh (which is also used for memory cards) shell script. You could > modify the script so that you execute your autoPicturesImport.sh if a > file system was mounted over USB by osso-mmc-mount.sh. You can see those > from the mount point argument, which is prefixed with "/media/usb" when > such a file system is about to be mounted. > > -Kimmo > > > > > Thanks in advance for your insight! > > > > Best regards, > > Frederik > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.maemo.org/pipermail/maemo-users/attachments/20091009/85d80c7f/attachment.htm
- Previous message: N810 - executing script when digital camera is plugged in and mounted
- Next message: N810 - executing script when digital camera is plugged in and mounted
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]