We have moved to a new Sailfish OS Forum. Please start new discussions there.

Revision history [back]

click to hide/show revision 1
initial version

posted 2014-02-09 21:27:45 +0200

btrfs device scan

This question pertains specifically to adding a btrfs formatted SD card to your rootfs.

For this to work safely, #btrfs state that 'btrfs device scan' must be run before the rootfs is mounted.

Does this happen?

How can it be configured to happen?

This is system developer sort of question not a feature request.


To make your SD card btrfs.

Identify the device in /dev probably mmcblk1.p1

Once you are certain of your target and happy that you've backed up all important data then run:

devel-su

mkfs.btrsf -f /dev/target-SDCard

I got a couple of warnings explaining that the current version of btrfs is not yet stabe and a link to the btrfs wiki. Then it showed me a report.


What will this do for the user. Basically, it will integrate your SD card into your phone, so where as the Jolla without SD card has 16 GB of storage. With the SD card (32 GB for example) you will get 48 GB contiguous storage.

Otherwise you're getting the 16 GB plus the 32 GB mounted at /run/user/100000/media/sdcard and then you can find your files. Here assuming the card is in a readable format (vfat, ntfs, ext4).

btrfs device scan

This question pertains specifically to adding a btrfs formatted SD card to your rootfs.

For this to work safely, #btrfs state that 'btrfs device scan' must be run before the rootfs is mounted.

Does this happen?

How can it be configured to happen?

This is system developer sort of question not a feature request.


To make your SD card btrfs.

Identify the device in /dev probably mmcblk1.p1

Once you are certain of your target and happy that you've backed up all important data then run:

devel-su

mkfs.btrsf -f /dev/target-SDCard/dev/target-SDCard.partition-label

I got a couple of warnings explaining that the current version of btrfs is not yet stabe and a link to the btrfs wiki. Then it showed me a report.


What will this do for the user. Basically, it will integrate your SD card into your phone, so where as the Jolla without SD card has 16 GB of storage. With the SD card (32 GB for example) you will get 48 GB contiguous storage.

Otherwise you're getting the 16 GB plus the 32 GB mounted at /run/user/100000/media/sdcard and then you can find your files. Here assuming the card is in a readable format (vfat, ntfs, ext4).