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 2019-12-17 22:18:13 +0200

ext4 file system compatibility

Hi, I have formatted (ext4) an USB memory stick on my workstation (CentOS8, mke2fs 1.44.3).

When attaching this device via an USB OTG adapter to a XA2 phone (SFOS 3.2.0.12). I can mounting the encrypted partition via system preferences. But it seems that the UI has glitches, timeouts, responsiveness, file manager not usable etc. At this point there appears also a warning text (see screenshot) while at the terminal I see the mounted filesystem (df -h) and copied manually (cp) some files onto it.

Comparing two device, each one formatted on the phone and workstation respectively, I see these main differences (tune2fs -l):

  • SFOS: Filesystem features: ...... 64bit ....
  • SFOS: Filesystem flags: unsigned_directory_hash
  • SFOS: Default mount options: user_xattr acl
  • CENTOS8: Filesystem flags: signed_directory_hash

I added the user_xattr,acl options to the device of the workstation but the file manager on SFOS is still not usable. Also, after using the device at the phone, when plugged to the workstation back, following appears in the logs:

  kernel: EXT4-fs (dm-4): recovery complete

SFOS has mke2fs 1.45.0 and should be backward compatible. It feels still sluggished. Does this experiences have to do with the above Filesystem flags: signed_directory_hash? Any hints?

image description

[solved] ext4 file system compatibility

Hi, I have formatted (ext4) an USB memory stick on my workstation (CentOS8, mke2fs 1.44.3).

When attaching this device via an USB OTG adapter to a XA2 phone (SFOS 3.2.0.12). I can mounting the encrypted partition via system preferences. But it seems that the UI has glitches, timeouts, responsiveness, file manager not usable etc. At this point there appears also a warning text (see screenshot) while at the terminal I see the mounted filesystem (df -h) and copied manually (cp) some files onto it.

Comparing two device, each one formatted on the phone and workstation respectively, I see these main differences (tune2fs -l):

  • SFOS: Filesystem features: ...... 64bit ....
  • SFOS: Filesystem flags: unsigned_directory_hash
  • SFOS: Default mount options: user_xattr acl
  • CENTOS8: Filesystem flags: signed_directory_hash

I added the user_xattr,acl options to the device of the workstation but the file manager on SFOS is still not usable. Also, after using the device at the phone, when plugged to the workstation back, following appears in the logs:

  kernel: EXT4-fs (dm-4): recovery complete

SFOS has mke2fs 1.45.0 and should be backward compatible. It feels still sluggished. Does this experiences have to do with the above Filesystem flags: signed_directory_hash? Any hints?

image description

[solved] ext4 file system compatibility

Hi, I have formatted (ext4) an USB memory stick on my workstation (CentOS8, mke2fs 1.44.3).

When attaching this device via an USB OTG adapter to a XA2 phone (SFOS 3.2.0.12). I can mounting the encrypted partition via system preferences. But it seems that the UI has glitches, timeouts, responsiveness, file manager not usable etc. At this point there appears also a warning text (see screenshot) while at the terminal I see the mounted filesystem (df -h) and copied manually (cp) some files onto it.

Comparing two device, each one formatted on the phone and workstation respectively, I see these main differences (tune2fs -l):

  • SFOS: Filesystem features: ...... 64bit ....
  • SFOS: Filesystem flags: unsigned_directory_hash
  • SFOS: Default mount options: user_xattr acl
  • CENTOS8: Filesystem flags: signed_directory_hash

I added the user_xattr,acl options to the device of the workstation but the file manager on SFOS is still not usable. Also, after using the device at the phone, when plugged to the workstation back, following appears in the logs:

  kernel: EXT4-fs (dm-4): recovery complete

SFOS has mke2fs 1.45.0 and should be backward compatible. It feels still sluggished. Does this experiences have to do with the above Filesystem flags: signed_directory_hash? Any hints?

image description