Active Topics

 


Reply
Thread Tools
Posts: 33 | Thanked: 25 times | Joined on Sep 2011 @ grenoble
#1
hello, is someone know how to launch a script when the oth is removed or installed ?
thanks
 
Mikkosssss's Avatar
Posts: 645 | Thanked: 519 times | Joined on Apr 2012 @ Finland
#2
I dont know how it took so long to understand your post.

But I would like to know too. Maybe some day I find some use for it.
__________________
────────────────────
Try:My N9 bootvideo
 
pycage's Avatar
Posts: 3,404 | Thanked: 4,474 times | Joined on Oct 2005 @ Germany
#3
You can watch D-Bus for the signals and take actions on it. Look for com.jolla.tohd on the system bus.
__________________
Tidings - RSS and Podcast aggregator for Jolla - https://github.com/pycage/tidings
Cargo Dock - file/cloud manager for Jolla - https://github.com/pycage/cargodock
 

The Following 2 Users Say Thank You to pycage For This Useful Post:
Posts: 33 | Thanked: 25 times | Joined on Sep 2011 @ grenoble
#4
Originally Posted by Mikkosssss View Post
But I would like to know too. Maybe some day I find some use for it.
ok, my jolla have a strange behaviour about sd card mount. it just DON'T automatically mount. but it's not a bad thing, because the default mounting point is not that good.

this is what i've done with my sd card:
mount:
/dev/mmcblk1 on /data/sdcard type btrfs (rw,relatime,thread_pool=4,compress=zlib,ssd,noacl ,space_cache)
/dev/mmcblk1 on /home/nemo/Videos type btrfs (rw,relatime,thread_pool=4,compress=zlib,ssd,noacl ,space_cache)
/dev/mmcblk1 on /home/nemo/Desktop type btrfs (rw,relatime,thread_pool=4,compress=zlib,ssd,noacl ,space_cache)
/dev/mmcblk1 on /home/nemo/Documents type btrfs (rw,relatime,thread_pool=4,compress=zlib,ssd,noacl ,space_cache)
/dev/mmcblk1 on /home/nemo/Downloads type btrfs (rw,relatime,thread_pool=4,compress=zlib,ssd,noacl ,space_cache)
/dev/mmcblk1 on /home/nemo/Music type btrfs (rw,relatime,thread_pool=4,compress=zlib,ssd,noacl ,space_cache)
/dev/mmcblk1 on /home/nemo/Pictures type btrfs (rw,relatime,thread_pool=4,compress=zlib,ssd,noacl ,space_cache)
/dev/mmcblk1 on /home/nemo/Public type btrfs (rw,relatime,thread_pool=4,compress=zlib,ssd,noacl ,space_cache)
/dev/mmcblk1 on /home/nemo/Templates type btrfs (rw,relatime,thread_pool=4,compress=zlib,ssd,noacl ,space_cache)

now, i want to unmount and mount my sdcard when i put the other half on and off, for not having a corrupt filesystem
 

The Following User Says Thank You to bob_bipbip For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 04:57.