Reply
Thread Tools
javispedro's Avatar
Posts: 2,355 | Thanked: 5,249 times | Joined on Jan 2009 @ Barcelona
#21
Originally Posted by Leinad View Post
i'm not sure, why the mount of the sdcard is missing in the output above, but it was mounted on /run/user/100000/media/sdcard
Well, if it is missing from that list, then it is not mounted. Can you elaborate on how do you detect is mounted? Maybe it simply isn't...

Originally Posted by Leinad View Post
i was not able to store more than 400MB on the sdcard, because the limitations of /run/user/100000/media/sdcard go over to /data/sdcard if mounted that way!
Do you realize this would make mount completely useless?
You would not be able to use an SD card if your internal memory was full!

Obviously, it does not work this way. Something is wrong and I suggest you carefully verify your setup.
 

The Following User Says Thank You to javispedro For This Useful Post:
Posts: 594 | Thanked: 1,094 times | Joined on Aug 2012 @ Rhine
#22
would you mind sharing your df output after mounting everything the way you suggested?
 
Posts: 539 | Thanked: 518 times | Joined on May 2010 @ nanaurbusiness
#23
should look similar to this:
Code:
[root@Jolla nemo]# df -h
Filesystem            Size  Used Avail Use% Mounted on
rootfs                 14G  5.0G  8.3G  38% /
/dev/mmcblk0p28        14G  5.0G  8.3G  38% /
devtmpfs              406M   64K  406M   1% /dev
tmpfs                 407M   72K  407M   1% /dev/shm
tmpfs                 407M   34M  373M   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  8.3M   40M  18% /var/systemlog
/dev/mmcblk0p18        64M   45M   20M  70% /firmware
/dev/mmcblk0p28        14G  5.0G  8.3G  38% /swap
/dev/mmcblk0p28        14G  5.0G  8.3G  38% /home
tmpfs                 407M     0  407M   0% /mnt/asec
tmpfs                 407M     0  407M   0% /mnt/obb
/dev/mmcblk1           60G  288K   56G   1% /run/user/100000/media/sdcard
[root@Jolla nemo]#


Edit: This is the script (also posted at jollausers.com)

Code:
#!/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"
	case "${ID_FS_TYPE}" in
		vfat|ntfs|exfat)
			mount $SDCARD $MNT -o uid=$DEF_UID,gid=$DEF_GID
			;;
		*)
			mount $SDCARD $MNT
			chown $DEVICEUSER: $MNT
			;;
	esac
else
	umount $SDCARD

	if [ $? = 0 ]; then
		rm -f $SDCARD
	else
		umount -l $MNT
		rm -f $SDCARD
	fi
fi
or a similar modification here in the: Jolla User Experience Thread
__________________

N900 ~ $ make me a sandwich
-bash: no, make it yourself
N900 ~ $ sudo make me a sandwich
-bash: ok then...

Last edited by J4ZZ; 2014-01-22 at 23:14.
 

The Following 2 Users Say Thank You to J4ZZ For This Useful Post:
Posts: 594 | Thanked: 1,094 times | Joined on Aug 2012 @ Rhine
#24
Well, that's really strange... i know i had this problem a week ago, but now i can't reproduce it.
I played around a lot with the configuration and also reformatted the sdcard several times with different FS, so maybe the problem was present, when the sdcard was on FAT32 (don't want to reformat for testing, because now there's a lot of data on it), ATM it's on ext4.

So i guess, javispedro is right and i mixed something up, while playing around with the sdcard... so i removed my own mountpoint and use the standard mountpoint instead.

Now my mount-sd.sh looks like this:
Code:
#!/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
  mount -o bind ${MNT}/.home /home/nemo
  mount -o bind ${MNT}/.android /data/sdcard
else
  umount /data/sdcard
  umount /home/nemo
	umount $SDCARD

	if [ $? = 0 ]; then
		rm -f $SDCARD
	else
		umount -l $MNT
		rm -f $SDCARD
	fi
fi
and my df output looks like this:
Code:
[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   72K  407M   1% /dev/shm
tmpfs                 407M   20M  387M   5% /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/mmcblk0p18        64M   45M   20M  70% /firmware
/dev/mmcblk0p19       8.0M  4.1M  3.9M  52% /drm
/dev/mmcblk0p28        14G  4.1G  9.2G  31% /swap
/dev/mmcblk0p28        14G  4.1G  9.2G  31% /home
/dev/mmcblk0p9         48M  6.6M   41M  14% /var/systemlog
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
...looks good to me

i think, now it's time to rewrite first post to "noob-proof" receipe, or are there any problems with this conf? on my device, it works without problems.
 
javispedro's Avatar
Posts: 2,355 | Thanked: 5,249 times | Joined on Jan 2009 @ Barcelona
#25
Moving $HOME (/home/nemo) to the sdcard may be dangerous. First, it means your sdcard must use a UNIXy filesystem (ext4, btrfs, ...). Otherwise result is probably going to be a reboot loop.

Second, I don't know enough of systemd to know if the sdcard will be always mounted before the user stuff starts launching. But if it works for you...
 

The Following User Says Thank You to javispedro For This Useful Post:
Posts: 204 | Thanked: 443 times | Joined on Jul 2012 @ Germany - Potsdam
#26
Originally Posted by Leinad View Post
... cut done by meemorph ...

i think, now it's time to rewrite first post to "noob-proof" receipe, or are there any problems with this conf? on my device, it works without problems.
The script looks good.

You are asking for problems: It could be, that mount-sd.sh is executed very late at startup of the device. If other processes, that are started before mount-sd.sh is done, need some files from /home/nemo, they would read the "old" files from the tempfs.

At the moment, I am only using the /data/sdcard rebind for android (cite from post #2) and have some symbolic links at music, videos and pictures. I had two issues with that.

1. If I create an ambience from a picture on the sd-card, this ambience is gone after reboot. Thats why I think, the mount-sd.sh is executed too late. If I copy the picture to the picture folder (tempfs) and create the ambience, it is persistent. You should try, If an ambience if persistent with your conf.

2. I advise to use the .android subdirectory for the /data/sdcard rebind, like you did in your script. Because: I did an uninstall of the android support an all android apps. Then I did a new install of the android support. After that the /data/sdcard folder was *completly* empty. The android support deleted the hole folder, I think. I had some pictures before uninstalling and installing the androis support in that folder, but everything was gone, not only the folders of the android apps. If someone binds the root of the sdcard to /data/sdcard, do not uninstall and install android support, before you have a backup.
 

The Following User Says Thank You to meemorph For This Useful Post:
Posts: 594 | Thanked: 1,094 times | Joined on Aug 2012 @ Rhine
#27
Originally Posted by meemorph View Post
1. If I create an ambience from a picture on the sd-card, this ambience is gone after reboot. Thats why I think, the mount-sd.sh is executed too late. If I copy the picture to the picture folder (tempfs) and create the ambience, it is persistent. You should try, If an ambience if persistent with your conf.
Hm, that's interesting: now i have this problem too. I never had it, when using my own mountpoint (/mnt/sdcard2). Just tried it again with own mountpoint and the problem is gone again...
are there important reasons not to use an own mountpoint?

Originally Posted by meemorph View Post
2. I advise to use the .android subdirectory for the /data/sdcard rebind, like you did in your script. Because: I did an uninstall of the android support an all android apps. Then I did a new install of the android support. After that the /data/sdcard folder was *completly* empty. The android support deleted the hole folder, I think. I had some pictures before uninstalling and installing the androis support in that folder, but everything was gone, not only the folders of the android apps. If someone binds the root of the sdcard to /data/sdcard, do not uninstall and install android support, before you have a backup.
that's good to know!


Edit: it totally seems like the mount-sd.sh is called twice during bootup process.
One time at an early stage, where the ambiance stuff works (but default mountpoint is not ready).
And one time later, where the default mountpoint is ready, but it's too late for the ambiance stuff.

When i add these lines at the end of the file
Code:
if [ "$ACTION" = "add" ]; then
    mount /dev/mmcblk1p1 /mnt/sdcard2
    mount -o bind /mnt/sdcard2/.home /home/nemo
    mount -o bind /mnt/sdcard2/.android /data/sdcard
else
  umount /data/sdcard
  umount /home/nemo
  umount /mnt/sdcard2
fi
my df output looks like this:
Code:
[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
Now i added a condition:
Code:
if [ "$ACTION" = "add" ]; then
  if [ $(mount | grep -c /mnt/sdcard2) != 1 ]; then
    mount /dev/mmcblk1p1 /mnt/sdcard2
    mount -o bind /mnt/sdcard2/.home /home/nemo
    mount -o bind /mnt/sdcard2/.android /data/sdcard
  fi
else
  umount /data/sdcard
  umount /home/nemo
  umount /mnt/sdcard2
fi
and the output looks like this:
Code:
[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  204K  406M   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/mmcblk0p19       8.0M  4.1M  3.9M  52% /drm
/dev/mmcblk0p25       8.0M  4.2M  3.8M  54% /persist
/dev/mmcblk0p9         48M  6.6M   41M  14% /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
/dev/mmcblk1p1         60G  2.7G   54G   5% /mnt/sdcard2
/dev/mmcblk1p1         60G  2.7G   54G   5% /home/nemo
/dev/mmcblk1p1         60G  2.7G   54G   5% /data/sdcard
tmpfs                 407M     0  407M   0% /mnt/asec
tmpfs                 407M     0  407M   0% /mnt/obb
/dev/mmcblk1p1         60G  2.7G   54G   5% /run/user/100000/media/sdcard

Last edited by Leinad; 2014-01-25 at 12:29.
 

The Following User Says Thank You to Leinad For This Useful Post:
Posts: 33 | Thanked: 25 times | Joined on Sep 2011 @ grenoble
#28
mine is better

Code:
/dev/mmcblk0p28 on / type btrfs (rw,noatime,thread_pool=4,ssd,noacl,space_cache,autodefrag)
devtmpfs on /dev type devtmpfs (rw,relatime,size=415332k,nr_inodes=103833,mode=755)
none on /proc type proc (rw,relatime)
none on /sys type sysfs (rw,relatime)
tmpfs on /dev/shm type tmpfs (rw,relatime)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620)
tmpfs on /run type tmpfs (rw,nosuid,nodev,mode=755)
tmpfs on /sys/fs/cgroup type tmpfs (rw,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
cgroup on /sys/fs/cgroup/debug type cgroup (rw,nosuid,nodev,noexec,relatime,debug)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpuacct,cpu)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
tmpfs on /tmp type tmpfs (rw)
mtp on /dev/mtp type functionfs (rw,relatime)
/dev/mmcblk0p25 on /persist type ext4 (ro,nosuid,nodev,relatime,data=ordered)
/dev/mmcblk0p19 on /drm type ext4 (rw,nosuid,nodev,relatime,data=ordered)
/dev/mmcblk0p9 on /var/systemlog type ext4 (rw,nosuid,nodev,relatime,data=ordered)
/dev/mmcblk0p18 on /firmware type vfat (ro,relatime,uid=1000,gid=1000,fmask=0337,dmask=0227,codepage=cp437,iocharset=iso8859-1,shortname=lower,errors=remount-ro)
/dev/mmcblk0p28 on /swap type btrfs (rw,relatime,thread_pool=4,ssd,noacl,space_cache,autodefrag)
/dev/mmcblk0p28 on /home type btrfs (rw,relatime,thread_pool=4,ssd,noacl,space_cache,autodefrag)
tmpfs on /mnt/asec type tmpfs (rw,relatime,mode=755,gid=1000)
tmpfs on /mnt/obb type tmpfs (rw,relatime,mode=755,gid=1000)
statefs on /run/state type fuse.statefs (rw,nosuid,nodev,relatime,user_id=0,group_id=100,default_permissions,allow_other)
statefs on /run/user/100000/state type fuse.statefs (rw,nosuid,nodev,relatime,user_id=100000,group_id=100000,default_permissions,allow_other)
/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)
 
Posts: 33 | Thanked: 25 times | Joined on Sep 2011 @ grenoble
#29
ok, so someone here asked me how i have made all these subvolume ****, here is a exact copy of the pm i replied to:

ok, so here it goes.

first, i have to say that my jolla have a problem. sd card never mounted in the default folder (/run/user/100000/media/sdcard) so, i don't know how it will works on a "correct" jolla. but whatever, i "don't think" there will be more problem. still ...

second, i'm seeing a lot of misconception about btrfs. everyone is speeking about /dev/mmcblk1p1. btrfs do NOT need classical partition. everything you must heard about is just /dev/mmcblk1, NOT ....p1.
so first, format it in the right way:

mkfs.btrfs -f /dev/mmcblk1

yeah right, WITHOUT any p1. direct from the block
(the "-f" is not mandatory, it useful when you have problem because the device don't want to release it or something, whatever. try first without, if it works congrats, if you need it, use it)

we could check if it is a real btfrs file system:

btrfs filesystem show /dev/mmcblk1

then, you will be forced to mount the entire "disk" in a folder to create the subvolume:

mkdir /mnt/microsd
mount /dev/mmcblk1 /mnt/microsd/

we create can now create all the subvolume

btrfs subvolume create /mnt/microsd/Desktop
btrfs subvolume create /mnt/microsd/Documents
btrfs subvolume create /mnt/microsd/Downloads
btrfs subvolume create /mnt/microsd/Music
btrfs subvolume create /mnt/microsd/Public
btrfs subvolume create /mnt/microsd/Templates
btrfs subvolume create /mnt/microsd/Videos
btrfs subvolume create /mnt/microsd/sdcard
btrfs subvolume create /mnt/microsd/Pictures

to check if it's correct:

btrfs subvolume list /mnt/microsd/

now, you must copy all data to the new directorys:

cp -r -a -v /data/sdcard/ /mnt/microsd/sdcard
cp /home/nemo/Pictures/Jolla/* /mnt/microsd/Pictures/Jolla/
cp /home/nemo/Video/Jolla/* /mnt/microsd/Videos/Jolla/
cp /home/nemo/Videos/Jolla/* /mnt/microsd/Videos/
(if you already have any music or something to those old directory:
cp /home/nemo/Music/*
etc ....)

then, we can mount
as you can see, the compress argument is here. btrfs is able to compress "on the fly", and, more, if the data is incompressible, it remain the same. afterward, btrfs as a flaw, it's "compress all the volume/subvolume or nothing" that why i mantioned it only time

mount -o subvol=sdcard,compress /dev/mmcblk1 /data/sdcard/
mount -o subvol=Videos /dev/mmcblk1 /home/nemo/Videos/
mount -o subvol=Desktop /dev/mmcblk1 /home/nemo/Desktop/
mount -o subvol=Documents /dev/mmcblk1 /home/nemo/Documents/
mount -o subvol=Downloads /dev/mmcblk1 /home/nemo/Downloads/
mount -o subvol=Music /dev/mmcblk1 /home/nemo/Music/
mount -o subvol=Pictures /dev/mmcblk1 /home/nemo/Pictures/
mount -o subvol=Public /dev/mmcblk1 /home/nemo/Public/
mount -o subvol=Templates /dev/mmcblk1 /home/nemo/Templates/

Voila.

Pardon my bad english


EDIT1:
there were some mistake, the green come from below, wich is ok, the blue is the true good correction.

sorry again

Last edited by bob_bipbip; 2014-01-25 at 18:46.
 

The Following 3 Users Say Thank You to bob_bipbip For This Useful Post:
Posts: 284 | Thanked: 661 times | Joined on Aug 2013 @ Finland
#30
Originally Posted by bob_bipbip View Post
ok, so someone here asked me how i have made all these subvolume ****, here is a exact copy of the pm i replied to:

[...]

mkfs.btrfs -f /dev/mmcblk1

yeah right, WITHOUT any p1. direct from the block
(the "-f" is not mandatory, it useful when you have problem because the device don't want to release it or something, whatever. try first without, if it works congrats, if you need it, use it)

[...]

btrfs subvolume create /mnt/microsd/Desktop
btrfs subvolume create /mnt/microsd/Documents
btrfs subvolume create /mnt/microsd/Downloads
btrfs subvolume create /mnt/microsd/Music
btrfs subvolume create /mnt/microsd/Public
btrfs subvolume create /mnt/microsd/Templates
btrfs subvolume create /mnt/microsd/Videos
btrfs subvolume create /mnt/microsd/sdcard
btrfs subvolume create /mnt/microsd/Pictures

[...]

cp -r -a -v /home/nemo/sdcard/ /mnt/microsd/sdcard
cp /home/nemo/Pictures/Jolla/* /mnt/microsd/Pictures/Jolla/
cp /home/nemo/Video/Jolla/* /mnt/microsd/Videos/Jolla/
cp /home/nemo/Videos/Jolla/* /mnt/microsd/Videos/
(if you already have any music or something to those old directory:
cp /home/nemo/Music/*
etc ....)

then, we can mount
as you can see, the compress argument is here. btrfs is able to compress "on the fly", and, more, if the data is incompressible, it remain the same. afterward, btrfs as a flaw, it's "compress all the volume/subvolume or nothing" that why i mantioned it only time

mount -o subvol=sdcard,compress /dev/mmcblk1 /home/nemo/sdcard/ [?]
mount -o subvol=Videos /dev/mmcblk1 /home/nemo/Videos/
mount -o subvol=Desktop /dev/mmcblk1 /home/nemo/Desktop/
mount -o subvol=Documents /dev/mmcblk1 /home/nemo/Documents/
mount -o subvol=Downloads /dev/mmcblk1 /home/nemo/Downloads/
mount -o subvol=Music /dev/mmcblk1 /home/nemo/Music/
mount -o subvol=Pictures /dev/mmcblk1 /home/nemo/Pictures/
mount -o subvol=Pictures /dev/Public /home/nemo/Public/
mount -o subvol=Public /dev/mmcblk1 /home/nemo/Public/
mount -o subvol=Templates /dev/mmcblk1 /home/nemo/Templates/
I assume the green text is what you actually meant, red too but I'm not so sure of it. Could you confirm? (I'm not that good with commandline stuff yet, so I try not to do stuff I don't understand)

Also, if my Jolla will now automount my btrfs sdcard after these mods, a thosand thanks goes to you

Last edited by Thoke; 2014-01-25 at 18:23.
 

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


 
Forum Jump


All times are GMT. The time now is 23:26.