AppImageKit icon indicating copy to clipboard operation
AppImageKit copied to clipboard

Use "fuse" fstype instead of "fuse.<name-of-the-AppImage>"

Open probonopd opened this issue 3 years ago • 5 comments

A FreeBSD kernel developer noted:

The fstype is fuse.scribus-1.5.6.1-linux-x86_64.AppImage (you can see this when typing mount in a terminal while you are running an AppImage).

Can we make it just fuse? This should hopefully increase compatibility with the Linuxulator in existing FreeBSD kernel versions and should have no ill side effects.

References:

  • https://github.com/AppImage/AppImageKit/issues/98
  • https://reviews.freebsd.org/D30606

probonopd avatar Jun 02 '21 17:06 probonopd

FUSE has these options:

fsname=NAME
Sets the filesystem source (first field in /etc/mtab). The default is the mount program name.
subtype=TYPE
Sets the filesystem type (third field in /etc/mtab). The default is the mount program name. If the kernel suppports it, /etc/mtab and /proc/mounts will show the filesystem type as fuse.TYPE

Which combination of fsname and/or subtype arguments would give us just fuse instead of the current fuse.scribus-1.5.6.1-linux-x86_64.AppImage?

probonopd avatar Jun 02 '21 17:06 probonopd

Note that starting from https://github.com/freebsd/freebsd-src/commit/128a1db806d (and upcoming FreeBSD releases) Linuxulator supports both.

trasz avatar Jun 10 '21 13:06 trasz

Thank you very much @trasz. Is there any change this might be merged into the 12.x and 13.x series?

probonopd avatar Jun 10 '21 16:06 probonopd

Yes, that's the plan.

trasz avatar Jun 14 '21 17:06 trasz

@probonopd I doubt that we set it at all, but I wouldn't mind not setting it (or fixing the subtype to "appimage-type*"). I am concerned we have to patch squashfuse for that, though.

TheAssassin avatar Jun 14 '21 17:06 TheAssassin