Reply
Thread Tools
Posts: 33 | Thanked: 25 times | Joined on Sep 2011 @ grenoble
#31
holy mother of fkng copy pasta

i HAVE TO CORRECT IT NOW !!!!


sorry
 

The Following 2 Users Say Thank You to bob_bipbip For This Useful Post:
Posts: 37 | Thanked: 26 times | Joined on Aug 2013 @ Finland
#32
Too complicated changes to script for my taste. Odd thing is that the basic changes to mount-sd.sh script, work for some and others not. I have no problems with mounting, but I still need symlinks, and yes I have tested and tried several times.

I don't use android stuff, which makes my life easier ;-)
 
Posts: 284 | Thanked: 661 times | Joined on Aug 2013 @ Finland
#33
@bob_bipbip, at least in my Jolla there'a no sdcard folder in /data/ (checked with ls -a), should I make one then, or what is it's importance in this?
 
Posts: 33 | Thanked: 25 times | Joined on Sep 2011 @ grenoble
#34
Originally Posted by Thoke View Post
@bob_bipbip, at least in my Jolla there'a no sdcard folder in /data/ (checked with ls -a), should I make one then, or what is it's importance in this?
strange, but i think you don't have android virtual machine installed, so that's why you don't have this folder
 

The Following User Says Thank You to bob_bipbip For This Useful Post:
Posts: 284 | Thanked: 661 times | Joined on Aug 2013 @ Finland
#35
Ohh... yes, that's true so no subvolumes there then
 
Posts: 99 | Thanked: 215 times | Joined on Oct 2013
#36
Originally Posted by bob_bipbip View Post
mkfs.btrfs -f /dev/mmcblk1
Error: unable to open /deb/mmcblk1: Device or resource busy
 
Posts: 284 | Thanked: 661 times | Joined on Aug 2013 @ Finland
#37
Originally Posted by Bubbless View Post
Error: unable to open /deb/mmcblk1: Device or resource busy
umount /dev/mmcblk1

Now it should be unmounted. Make sure none of your applications use data from the sdcard before unmounting it. Note that all your data will be wiped from the sdcard after formatting.
 
Posts: 33 | Thanked: 25 times | Joined on Sep 2011 @ grenoble
#38
Originally Posted by Thoke View Post
Ohh... yes, that's true so no subvolumes there then
Just remove all lines about /data/sdcard
 
javispedro's Avatar
Posts: 2,355 | Thanked: 5,249 times | Joined on Jan 2009 @ Barcelona
#39
Originally Posted by Thoke View Post
Also, if my Jolla will now automount my btrfs sdcard after these mods, a thosand thanks goes to you
The only modification required to automount a btrfs formatted sdcard is the one commented in the bug report.

This thread is about over-complicating things to gain features such as the one mentioned in the thread title.
 

The Following User Says Thank You to javispedro For This Useful Post:
Posts: 284 | Thanked: 661 times | Joined on Aug 2013 @ Finland
#40
Originally Posted by javispedro View Post
The only modification required to automount a btrfs formatted sdcard is the one commented in the bug report.

This thread is about over-complicating things to gain features such as the one mentioned in the thread title.
Yeah, I understand. I've never edited a script before before now I've been very cautious about doing any changes to scripts. I have vim on device but no instructions anywhere inside the application. So I chose the way of doing things I at least have some knowledge of.

Now I just learned how to open mount-sd.sh in vim and edit it.

So it should look like this:

Code:
mount $SDCARD $MNT -o uid=$DEF_UID,gid=$DEF_GID || mount -o relatime $SDCARD $MY_MOUNTPOINT
no line-breaks anywhere.

I'm using this as a guide, seems to be relevant and work.

PS: If you want to label your microsd when formatting it use the command
Code:
mkfs.btrfs -L insertlabel /dev/mmcblk1

Don't know if the drive label can be altered afterwards.

Last edited by Thoke; 2014-01-26 at 10:26.
 
Reply


 
Forum Jump


All times are GMT. The time now is 17:05.