Ask / Submit

SailfishX missing NFS support?

asked 2018-04-08 14:32:12 +0200

Sunny gravatar image

updated 2018-04-10 15:18:17 +0200

jiit gravatar image

Purchased SailfishX and to my big suprise, mounting NFS shares isn't possible anymore. Can't be true, jolla removed NFS support from the kernel, can be?

Update: Questions to JP1-2.1.4.* users: Can anybody confirm that this is a problem with SailfishX only, not with SailfishOX >2.0.?.* (which is what I still run)?

Thanks in advance.

P.S.: I'm a bit surprised that my initial question was censored. To much truth? Of course, it's out of scope of that single problem which my question referes to, but I don't have a _single_ problem with SailfishX...

edit retag flag offensive close delete



you mean mount -t cifs does not work? also arent there userspace nfs clients available?

tortoisedoc ( 2018-04-08 16:25:52 +0200 )edit

AFAIK its not available in the kernel. Didn't tested it since the last update, but believe it's still broken, which is a big step back. Especially in this linux friendly community. Hope we can get a update soon, with all fixes for the crippled hardware under XPERIA.

h.berd ( 2018-04-08 19:36:37 +0200 )edit

I don't really care if "mount -t cifs" doesn't work, otherwise my question was CIFS/SMB related, not NFS. But neither "-t nfs" nor "-t nfs4" work with SailfishX, hence my question. This is a simple linux kernel configuration issue - nothing related to hardware or jolla code at all! Of course, userland tools (like FishNetMount) cannot work if the kernel lacks support for the functions to be controlled. Theoretically it was possible to implement it by utilizing fuse (and provide the corresponding fuefs-modules with the userland app), but that was plain silly. Just konfigure the kernel to be compiled with the same NFS features as it was for JP1 - the kernel size enlarging of less than 0.001 GB won't hurt _anybody_ - no sympathy for people in charge for such decisions here!

Sunny ( 2018-04-09 11:52:16 +0200 )edit

I have the feeling SailfishX is using the kernel Sony AOSP is providing, it's not a problem of size or configuration.

pmelas ( 2018-04-09 12:09:15 +0200 )edit

@Sunny: I removed the rant because it was unrelated to the question and would only have attracted negative comments (and this site is not the right place for that anyway). This way you can get an answer to your question.

nthn ( 2018-04-09 12:54:44 +0200 )edit

2 Answers

Sort by » oldest newest most voted

answered 2018-04-10 13:51:50 +0200

DrYak gravatar image

The kernel (3.10.84) compiled in the current 2.1.4 Sailfish release has NO networked filesystem support compiled in (no NFS, CIFS/SMB, etc.). And modules loading is disabled too.

$ uname -a
Linux sailfish 3.10.84 #1 SMP PREEMPT Wed Jan 24 16:53:18 UTC 2018 aarch64 aarch64 aarch64 GNU/Linux
$ zcat /proc/config.gz | grep NETWORK_FILESYSTEMS
$ zcat /proc/config.gz | grep MODULES            
# CONFIG_MODULES is not set

So there's currently no way to enable NFS support.

Your solutions ate :

  • Short term solution

FUSE support is compiled in (and is used by optionnal Alien-dalvik, NTFS-3g and exFAT, among others). Maybe some kind of FUSE NFS could work for your usecase ?

  • Long term solution

After a lot of users requesting it, Jolla got persuaded to compile BTRFS into 2.1.4 Maybe if enough users ask for NFS, they'll enable it ?

edit flag offensive delete publish link more


Or the third solution (the best so far) ; just compile your own kernel.

juiceme ( 2018-04-10 15:27:08 +0200 )edit

thats a bit unfair @juiceme. its nothing straightforwardto compile a kernel; not to mention to install it on a phone. the blame the victim approach is not the right one here.

tortoisedoc ( 2018-04-11 16:32:37 +0200 )edit

no no, you got me wrong; I am not blaming anything or anybody!

Just saying it is the best alternative (in my opinion) as you can pretty much select what you want to include... the SFOSX community kernel is a drop-in replacement to the official SFOSX so no problems there.

juiceme ( 2018-04-11 18:31:48 +0200 )edit


community kernel is a drop-in replacement

Oh, is it ? I didn't knew (didn't test, actually).

And while we're at it : link to the TMO thread about the community firmware. (Where people where discussing about enabling networked filesystems).

DrYak ( 2018-04-11 18:47:58 +0200 )edit

answered 2018-11-10 15:29:04 +0200

Andy Branson gravatar image

This commit enabled NFS on other devices, and was included on the X:

CONFIG_NETWORK_FILESYSTEMS isn't set on this kernel, which probably contributes. A PR to that branch to fix this would be gratefully received.

edit flag offensive delete publish link more


IMO one usually executes a cat /proc/filesystems to see which filesystems a specific kernel supports.
Doing this, I cannot see NFS support on both, an Xperia X under SFOS 3.0.0 and a Jolla 1 under SFOS 2.2.1!?!

olf ( 2018-11-11 17:48:48 +0200 )edit
Login/Signup to Answer

Question tools



Asked: 2018-04-08 14:32:12 +0200

Seen: 897 times

Last updated: Nov 10