Page MenuHomeSolus

Initial packaging of exfatprogs 1.0.4
ClosedPublic

Authored by silke on Dec 16 2020, 5:00 PM.
Tags
None
Referenced Files
F11016756: D10145.diff
Sat, Aug 5, 7:52 PM
F10841417: D10145.id25130.diff
Jun 10 2023, 7:03 AM
F10840075: D10145.id24416.diff
Jun 9 2023, 11:55 PM
F10839550: D10145.id25170.diff
Jun 9 2023, 9:44 PM
F10837449: D10145.diff
Jun 9 2023, 3:04 AM
F10772661: D10145.id.diff
May 21 2023, 2:10 PM
F10766809: D10145.id25170.diff
May 19 2023, 8:34 PM
F10758955: D10145.id25130.diff
May 17 2023, 6:39 PM
Subscribers

Details

Summary

Initial packaging of the official userspace utilities that accompany the kernel support.
These don't actually need the kernel support, but the utilities from fuse-exfat usually take precedence.

Resolves T9231

Test Plan
  • Format partition using /usr/sbin/mkfs.exfat
  • Mount, add files and unmount using current fuse implementation.
  • Change and read the label using /usr/sbin/tune.exfat
  • Check filesystem using /usr/sbin/fsck.exfat

Diff Detail

Repository
R5143 exfatprogs
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

silke requested review of this revision.Dec 16 2020, 5:00 PM
JoshStrobl added a subscriber: JoshStrobl.

This is going to end up being the third exFAT file system implementation package we'll have in the library, so I think we need to perform some cleanup instead of just keeping both fuse-exfat and exfat-utils around. I did the kernel enablement linux-current-5.10.5-167 and I don't believe there is any additional enablement we need to do, so mounting of exfat file systems should work OOTB without the need for the mount.* binaries from either of the existing packages.

Remains to be seen if we need the exfatlabel command, maybe worth testing if you can still relabel a exFAT partition or volume with only exfatprogs installed?

Cleanup would involve:

  1. Submitting a solus-sc PR that adds fuse-exfat, fuse-exfat-dbginfo, and exfat-utilsto distribution.xml.in in the repo_data folder, running the ./merged_repos.sh script while in the repo_data folder to generate the distribution.xml file.
  2. Adding replaces for fuse-exfat and exfat-utils to exfatprogs, remove the conflicts.
This revision now requires changes to proceed.Jan 8 2021, 2:37 PM

I don't think we can deprecate exfat-utils just yet. This one is not yet supported by Gnome disks (you can't partition using exfat).

I don't think we can deprecate exfat-utils just yet. This one is not yet supported by Gnome disks (you can't partition using exfat).

I'm not seeing any indication in the source code that they need exfat-utils directly. In fact, if anything this issue provides clear indication that no changes are actually needed.

I don't think we can deprecate exfat-utils just yet. This one is not yet supported by Gnome disks (you can't partition using exfat).

I'm not seeing any indication in the source code that they need exfat-utils directly. In fact, if anything this issue provides clear indication that no changes are actually needed.

Tested this, and formatting and relabeling exfat with GNOME Disks doesn't work because the utilities provided by exfat are not supported by udisks (relevant code).

If we really want only a single exfat package, I see the following options:

  • Wait until exfatprogs is supported by udisks (after a PR or feature request)
  • Patch udisks with support for exfatprogs (which is a fairly simple patch)
  • Include compatible wrappers (in two simple bash scripts, for example)

Ah so it's an issue in udisks. Yea looks like patching that would be trivial. Let's do that.

I see, thanks for looking into the issue. Also, fyi, we probably can't deprecate fuse-exfat as it would mean that users of exfat on the LTS kernels have no support for that filesystem.

I see, thanks for looking into the issue. Also, fyi, we probably can't deprecate fuse-exfat as it would mean that users of exfat on the LTS kernels have no support for that filesystem.

Yeah, that's an issue. Proposal:

  • Deprecate exfat-utils now.
  • Patch udisks for exfatprogs.
  • Deprecate fuse-exfat when LTS has native exfat support.

I see, thanks for looking into the issue. Also, fyi, we probably can't deprecate fuse-exfat as it would mean that users of exfat on the LTS kernels have no support for that filesystem.

Yeah, that's an issue. Proposal:

  • Deprecate exfat-utils now.
  • Patch udisks for exfatprogs.
  • Deprecate fuse-exfat when LTS has native exfat support.

Sounds more sensible. Though isn't that going to break the FAT partitioning on udisks for LTS users? Suppose at some point we have to draw a line.

I see, thanks for looking into the issue. Also, fyi, we probably can't deprecate fuse-exfat as it would mean that users of exfat on the LTS kernels have no support for that filesystem.

Yeah, that's an issue. Proposal:

  • Deprecate exfat-utils now.
  • Patch udisks for exfatprogs.
  • Deprecate fuse-exfat when LTS has native exfat support.

Sounds more sensible. Though isn't that going to break the FAT partitioning on udisks for LTS users? Suppose at some point we have to draw a line.

The relevant tools are userspace only, so it will still work for LTS users.

Replace conflicts by replaces

This revision is now accepted and ready to land.Jan 28 2021, 12:31 AM
This revision was automatically updated to reflect the committed changes.