![]() |
2014-01-20
, 09:57
|
Posts: 54 |
Thanked: 22 times |
Joined on Jan 2014
|
#11
|
![]() |
2014-01-20
, 19:30
|
Posts: 594 |
Thanked: 1,094 times |
Joined on Aug 2012
@ Rhine
|
#12
|
no expert on this topic but not entirely sure about performance issues due to the speed of that sd-port in general... would be really happy if you could look into this a bit during testing your solutions ;D
[nemo@localhost ~]$ df -h Filesystem Size Used Avail Use% Mounted on rootfs 14G 4.1G 9.2G 31% / /dev/mmcblk0p28 14G 4.1G 9.2G 31% / devtmpfs 406M 64K 406M 1% /dev tmpfs 407M 268K 406M 1% /dev/shm tmpfs 407M 23M 384M 6% /run tmpfs 407M 0 407M 0% /sys/fs/cgroup tmpfs 407M 24K 407M 1% /tmp /dev/mmcblk0p25 8.0M 4.2M 3.8M 54% /persist /dev/mmcblk0p19 8.0M 4.1M 3.9M 52% /drm /dev/mmcblk0p18 64M 45M 20M 70% /firmware /dev/mmcblk0p28 14G 4.1G 9.2G 31% /swap /dev/mmcblk0p28 14G 4.1G 9.2G 31% /home /dev/mmcblk0p9 48M 7.5M 40M 16% /var/systemlog /dev/mmcblk1p1 60G 2.6G 54G 5% /mnt/sdcard2 /dev/mmcblk1p1 60G 2.6G 54G 5% /home/nemo /dev/mmcblk1p1 60G 2.6G 54G 5% /data/sdcard tmpfs 407M 0 407M 0% /mnt/asec tmpfs 407M 0 407M 0% /mnt/obb /dev/mmcblk1p1 60G 2.6G 54G 5% /run/user/100000/media/sdcard /dev/mmcblk1p1 60G 2.6G 54G 5% /home/nemo /dev/mmcblk1p1 60G 2.6G 54G 5% /data/sdcard
![]() |
2014-01-21
, 13:37
|
Posts: 594 |
Thanked: 1,094 times |
Joined on Aug 2012
@ Rhine
|
#13
|
![]() |
2014-01-21
, 20:15
|
|
Posts: 2,355 |
Thanked: 5,249 times |
Joined on Jan 2009
@ Barcelona
|
#14
|
it uses tmpfs and is limited to ~400MB on Jolla and will be gone after every reboot, so IMHO absolutely not usefull for mounting the sdcard.
![]() |
2014-01-22
, 07:33
|
Posts: 594 |
Thanked: 1,094 times |
Joined on Aug 2012
@ Rhine
|
#15
|
The limits you describe are correct... for the tmpfs mount itself! They will not apply to whatever you store inside the sdcard mountpoint.
If you let the default mountpoint, then your changes simplify quite a lot: you just need to bind mount the Android sdcard directory, and that's about it.
[root@localhost nemo]# mount -o bind /run/user/100000/media/sdcard /home/nemo [root@localhost nemo]# mount -o bind /run/user/100000/media/sdcard /data/sdcard
[root@localhost nemo]# df -h Filesystem Size Used Avail Use% Mounted on rootfs 14G 4.1G 9.2G 31% / /dev/mmcblk0p28 14G 4.1G 9.2G 31% / devtmpfs 406M 64K 406M 1% /dev tmpfs 407M 72K 407M 1% /dev/shm tmpfs 407M 33M 374M 9% /run tmpfs 407M 0 407M 0% /sys/fs/cgroup tmpfs 407M 8.0K 407M 1% /tmp /dev/mmcblk0p25 8.0M 4.2M 3.8M 54% /persist /dev/mmcblk0p19 8.0M 4.1M 3.9M 52% /drm /dev/mmcblk0p9 48M 7.1M 41M 15% /var/systemlog /dev/mmcblk0p18 64M 45M 20M 70% /firmware /dev/mmcblk0p28 14G 4.1G 9.2G 31% /swap /dev/mmcblk0p28 14G 4.1G 9.2G 31% /home tmpfs 407M 0 407M 0% /mnt/asec tmpfs 407M 0 407M 0% /mnt/obb tmpfs 407M 33M 374M 9% /home/nemo tmpfs 407M 33M 374M 9% /data/sdcard
![]() |
2014-01-22
, 07:54
|
|
Posts: 2,355 |
Thanked: 5,249 times |
Joined on Jan 2009
@ Barcelona
|
#16
|
The Following User Says Thank You to javispedro For This Useful Post: | ||
![]() |
2014-01-22
, 08:17
|
Posts: 594 |
Thanked: 1,094 times |
Joined on Aug 2012
@ Rhine
|
#17
|
mount /dev/mmcblk1p1 /mnt/sdcard2
![]() |
2014-01-22
, 09:30
|
|
Posts: 2,355 |
Thanked: 5,249 times |
Joined on Jan 2009
@ Barcelona
|
#18
|
mount -o bind /run/user/100000/media/sdcard /data/sdcard
The Following User Says Thank You to javispedro For This Useful Post: | ||
![]() |
2014-01-22
, 10:02
|
Posts: 594 |
Thanked: 1,094 times |
Joined on Aug 2012
@ Rhine
|
#19
|
mount -o bind /run/user/100000/media/sdcard /data/sdcard
... tmpfs 407M 33M 374M 9% /run/user/100000/media/sdcard tmpfs 407M 33M 374M 9% /data/sdcard
![]() |
2014-01-22
, 11:20
|
Posts: 131 |
Thanked: 241 times |
Joined on Feb 2012
|
#20
|
findmnt /run/user/100000/media/sdcard
The Following User Says Thank You to HolgerN For This Useful Post: | ||