Bug 417506

Summary: Add exFAT format: now is GPLv2 licensed.
Product: [Applications] partitionmanager Reporter: Ricardo Alejandro García Gómez <gagorial>
Component: generalAssignee: Andrius Štikonas <andrius>
Status: RESOLVED NOT A BUG    
Severity: wishlist    
Priority: NOR    
Version First Reported In: 4.1.0   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: File system support
File system support

Description Ricardo Alejandro García Gómez 2020-02-12 17:30:48 UTC
SUMMARY
exFAT will be added to Linux or was added as GPLv2, please could you add this option to KDE Partition Manager?

STEPS TO REPRODUCE
1. I click over New button,
2. Then appear a windows where I can chose the File system,
3. I click for search exFAT but it does not appear,

OBSERVED RESULT
I cannot format my USB flash drive with exFAT 

EXPECTED RESULT
I can select exFAT to format

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: neon
KDE Plasma Version: 5.18.0
KDE Frameworks Version: 5.67.0
Qt Version: 5.13.2

ADDITIONAL INFORMATION
The system comes with a command line tool for format exFAT called kexfatfs but I think would be better to add this function to KDE Partition Manager.
I would do the job but I am only a user and do not know how to program.
Comment 1 Ricardo Alejandro García Gómez 2020-02-12 17:33:28 UTC
I forgot the reference of news:
https://www.microsoft.com/en-us/legal/intellectualproperty/mtl/exfat-licensing.aspx
Comment 2 Andrius Štikonas 2020-02-12 18:57:26 UTC
exFat license does not matter for Partition Manager. We do not link to any file system libraries, KDE Partition Manager only calls other executables.

(In fact we can't link to GPLv2 only libraries because KDE Partition Manager is GPLv3 or later).

KDE Partition Manager already has support for creating exfat file systems with mkexfatfs (from exfat-utils). If that tool is later replaced with kexfatfs, I can consider replacing mkexfatfs with kexfatfs but that's way too early. Anyway, I can't find any references at all to kexfatfs.
Comment 3 Ricardo Alejandro García Gómez 2020-02-12 19:10:45 UTC
Sorry, I write the name of command wrong, it is as you mentioned: mkexfatfs.

I was testing Partition Manager from a live DVD and do not found the option.

Sincerely.
Comment 4 Andrius Štikonas 2020-02-12 19:18:48 UTC
You possibly did not install exfat-utils. You can check that in Tools->File System Support.
Comment 5 Ricardo Alejandro García Gómez 2020-02-12 20:02:51 UTC
(In reply to Andrius Štikonas from comment #4)
> You possibly did not install exfat-utils. You can check that in Tools->File
> System Support.

I reviewed and serched at Discover and is installed.
Comment 6 Andrius Štikonas 2020-02-12 20:05:26 UTC
(In reply to Ricardo Alejandro García Gómez from comment #5)
> (In reply to Andrius Štikonas from comment #4)
> > You possibly did not install exfat-utils. You can check that in Tools->File
> > System Support.
> 
> I reviewed and serched at Discover and is installed.

And what is shown in File System Support Dialog?
Comment 7 Ricardo Alejandro García Gómez 2020-02-12 20:10:43 UTC
(In reply to Andrius Štikonas from comment #6)
> (In reply to Ricardo Alejandro García Gómez from comment #5)
> > (In reply to Andrius Štikonas from comment #4)
> > > You possibly did not install exfat-utils. You can check that in Tools->File
> > > System Support.
> > 
> > I reviewed and serched at Discover and is installed.
> 
> And what is shown in File System Support Dialog?

I do not know where is located File System Support Dialog, but I can write and read from a USB drive formatted as exFAT without problems.
Comment 8 Andrius Štikonas 2020-02-12 20:16:07 UTC
(In reply to Ricardo Alejandro García Gómez from comment #7)
> (In reply to Andrius Štikonas from comment #6)
> > (In reply to Ricardo Alejandro García Gómez from comment #5)
> > > (In reply to Andrius Štikonas from comment #4)
> > > > You possibly did not install exfat-utils. You can check that in Tools->File
> > > > System Support.
> > > 
> > > I reviewed and serched at Discover and is installed.
> > 
> > And what is shown in File System Support Dialog?
> 
> I do not know where is located File System Support Dialog, but I can write
> and read from a USB drive formatted as exFAT without problems.

Well, in KDE Partition Manager (in Tools menu as I mentioned in a previous comment).

Reading and writing exFAT works because you have either exfat-fuse installed or the new kernel driver. KDE Partition Manager does not need to read write. At the moment it should be able to create new exFAT file systems but not resize them (exfat-utils don't have any tools to resize them).
Comment 9 Ricardo Alejandro García Gómez 2020-02-12 20:21:28 UTC
(In reply to Andrius Štikonas from comment #6)
> (In reply to Ricardo Alejandro García Gómez from comment #5)
> > (In reply to Andrius Štikonas from comment #4)
> > > You possibly did not install exfat-utils. You can check that in Tools->File
> > > System Support.
> > 
> > I reviewed and serched at Discover and is installed.
> 
> And what is shown in File System Support Dialog?

Sorry, I was searching out the Partition Manager, I found the information. exFAT is not listed.(In reply to Andrius Štikonas from comment #8)
> (In reply to Ricardo Alejandro García Gómez from comment #7)
> > (In reply to Andrius Štikonas from comment #6)
> > > (In reply to Ricardo Alejandro García Gómez from comment #5)
> > > > (In reply to Andrius Štikonas from comment #4)
> > > > > You possibly did not install exfat-utils. You can check that in Tools->File
> > > > > System Support.
> > > > 
> > > > I reviewed and serched at Discover and is installed.
> > > 
> > > And what is shown in File System Support Dialog?
> > 
> > I do not know where is located File System Support Dialog, but I can write
> > and read from a USB drive formatted as exFAT without problems.
> 
> Well, in KDE Partition Manager (in Tools menu as I mentioned in a previous
> comment).
> 
> Reading and writing exFAT works because you have either exfat-fuse installed
> or the new kernel driver. KDE Partition Manager does not need to read write.
> At the moment it should be able to create new exFAT file systems but not
> resize them (exfat-utils don't have any tools to resize them).

Sorry, I was searching out Partition Manager. exFAT is not listed.
Comment 10 Andrius Štikonas 2020-02-12 23:37:19 UTC
I think you are looking at the wrong place.

This is the screenshot on Neon:

https://kde.modular.im/_matrix/media/r0/download/kde.org/BZRpvNRMcJVCOMrFFKcdzwGe
Comment 11 Ricardo Alejandro García Gómez 2020-02-13 00:50:38 UTC
Yes, I saw the correct place. I will test with the unstable version of "neon" and then I tell you if works. Thanks a lot!

Sorry for my english, I know that it is not enough good.
Comment 12 Ricardo Alejandro García Gómez 2020-02-13 03:49:48 UTC
Well, The last version of Partition Manager, in "neon", does not have support for exFAT.
Comment 13 Andrius Štikonas 2020-02-13 19:13:13 UTC
(In reply to Ricardo Alejandro García Gómez from comment #12)
> Well, The last version of Partition Manager, in "neon", does not have
> support for exFAT.

It definitely does have support. exFAT support was added to Partition Manager over 7 years ago. And neon project founder confirmed that he tested it and there is exfat support.

Could you please explain in a bit more detail was do you mean when you say it does not have support for exFAT.
Comment 14 Ricardo Alejandro García Gómez 2020-02-13 22:12:20 UTC
(In reply to Andrius Štikonas from comment #13)
> (In reply to Ricardo Alejandro García Gómez from comment #12)
> > Well, The last version of Partition Manager, in "neon", does not have
> > support for exFAT.
> 
> It definitely does have support. exFAT support was added to Partition
> Manager over 7 years ago. And neon project founder confirmed that he tested
> it and there is exfat support.
> 
> Could you please explain in a bit more detail was do you mean when you say
> it does not have support for exFAT.

exFAT is not listed in the place where do you tell to me. What information do you need for to corroborate it? I Want to help.
Comment 15 Andrius Štikonas 2020-02-13 22:18:49 UTC
Can you take the screenshot of that dialog and attach here?
Comment 16 Ricardo Alejandro García Gómez 2020-02-14 04:32:31 UTC
Created attachment 126001 [details]
File system support
Comment 17 Ricardo Alejandro García Gómez 2020-02-14 04:33:54 UTC
Created attachment 126002 [details]
File system support
Comment 18 Ricardo Alejandro García Gómez 2020-02-14 04:35:57 UTC
Do you are right. I maybe break something while I was learning to use the OS. Sorry by any inconvenient or trobuble.