|
2014-01-22
, 00:56
|
Posts: 702 |
Thanked: 2,059 times |
Joined on Feb 2011
@ UK
|
#2
|
The Following 4 Users Say Thank You to aegis For This Useful Post: | ||
|
2014-01-22
, 02:09
|
|
Posts: 5,339 |
Thanked: 4,133 times |
Joined on Jan 2010
@ Israel
|
#3
|
|
2014-01-22
, 02:18
|
Posts: 1,335 |
Thanked: 3,931 times |
Joined on Jul 2010
@ Brittany, France
|
#4
|
#!/bin/bash SDCARD=/dev/sdcard DEF_UID=$(grep "^UID_MIN" /etc/login.defs | tr -s " " | cut -d " " -f2) DEF_GID=$(grep "^GID_MIN" /etc/login.defs | tr -s " " | cut -d " " -f2) DEVICEUSER=$(getent passwd $DEF_UID | sed 's/:.*//') MNT=/run/user/$DEF_UID/media/sdcard if [ "$ACTION" = "add" ]; then if [ -b /dev/mmcblk1p1 ]; then ln -sf /dev/mmcblk1p1 $SDCARD elif [ -b /dev/mmcblk1 ]; then ln -sf /dev/mmcblk1 $SDCARD else exit $? fi su $DEVICEUSER -c "mkdir -p $MNT" mount $SDCARD $MNT -o uid=$DEF_UID,gid=$DEF_GID if [ -z $(mount | grep $MNT) ]; then # let's try 2nd time w/o options mount -o rw $SDCARD $MNT if [ $? = 0 ]; then chown $DEF_UID:$DEF_GID $MNT fi fi else umount $SDCARD if [ $? = 0 ]; then rm -f $SDCARD else umount -l $MNT rm -f $SDCARD fi fi
The Following 5 Users Say Thank You to Kabouik For This Useful Post: | ||
|
2014-01-22
, 07:17
|
Posts: 1,067 |
Thanked: 2,383 times |
Joined on Jan 2012
@ Finland
|
#6
|
The Following 3 Users Say Thank You to rainisto For This Useful Post: | ||
|
2014-01-22
, 07:29
|
|
Posts: 1,389 |
Thanked: 1,857 times |
Joined on Feb 2010
@ Israel
|
#7
|
|
2014-01-22
, 07:57
|
|
Posts: 2,355 |
Thanked: 5,249 times |
Joined on Jan 2009
@ Barcelona
|
#8
|
The Following 2 Users Say Thank You to javispedro For This Useful Post: | ||
|
2014-01-22
, 07:59
|
Posts: 738 |
Thanked: 819 times |
Joined on Jan 2012
@ Berlin
|
#9
|
The Following User Says Thank You to cvp For This Useful Post: | ||
|
2014-01-22
, 09:38
|
|
Posts: 548 |
Thanked: 562 times |
Joined on Aug 2011
@ Germany
|
#10
|
exFAT works ok if you just compile these into the device http://code.google.com/p/exfat/downloads/list
Both file mangers (CargoDock and File Browser) can't see it, also when I connect jolla to pc
Can someone explain me how to get it work, please ?
Lausanne & Lyon de descente...
----------------
Schturman's home page
Schturman's repo on openrepos
RPM packaging directly on your Jolla phone.
Root & User SSH access to Jolla via WinSCP.
Root and User SSH access to Jolla via Nautilus on Linux PC.