answered
2016-08-26 16:16:14 +0200
This post is a wiki.
Anyone with karma >75 is welcome to improve it.
One of the possible way to resolve this problems, add command-line option, what we can use in Jolla C phone.
Well, i do it.
sources:
https://github.com/ivfilin/encfs
branches sos & sos_debug
2016-08-26
Information about encfs on SailfishOS DEBUG VERSION
Parent sources: https://github.com/vgough/encfs
SailfishOS Fork: https://github.com/ivfilin/encfs
#=================================================#
Branch: sos
#=================================================#
Primary branch for SailfishOS (sos) compilling
add option --sos (default = false)
if (!encfsArgs->opts->sos)
{
VLOG(1) << "NON_SOS_FLAG";
encfs_oper.create = encfs_create;
}
add this option when working with encfs on Jolla C phone
and fuse will be use: mknod(), open(). for new node creating. OTHERWISE fuse make ecxeption "Bus error"
#=================================================#
Debug branch: sos_debug
#=================================================#
for all functions in encfs/encfs.cpp added
VLOG(1) << __FUNCTION__ << " : " << FI //function input
VLOG(1) << __FUNCTION__ << " : " << FO //function output
VLOG(1) << __FUNCTION__ << " : " << FIFO //one-line function
RPMS (sos & sos debug) stored here:
https://github.com/ivfilin/encfs_sailfish/tree/master/RPMS
And now, need help from persons, who perfectly knows: fuse, linux file systems, kernel modules & debug...
Because encfs, works fine on desktops, emulators with default options.
if you interesting about ecryptfs (need root for mount or fstab editing) so, go here (sources, rpms, etc)
https://git.merproject.org/ifilin/ecryptfs-rpm/tree/master/RPMS/ARMv7hl
but this project unsupported - need root privileges for using
ifilin ( 2016-08-26 10:52:00 +0200 )editThere was a version of encfs at OpenRepos, I think it was provided by @Nieldk. It's gone now but maybe he can help you.
inta ( 2016-08-26 12:02:26 +0200 )editthank you for this information nice, but available version in repo: encfs-1.8-10.19.2.jolla.armv7hl.rpm 24-Sep-2015 21:53 182K
ifilin ( 2016-08-26 12:57:43 +0200 )edit