Bug 28165

Summary: Diskdrake can not label F2FS. mkfs.f2fs can.
Product: Mageia Reporter: Morgan Leijström <fri>
Component: RPM PackagesAssignee: Mageia tools maintainers <mageiatools>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: Normal CC: mageia
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: draxtools-18.40-1.mga8.src CVE:
Status comment:

Description Morgan Leijström 2021-01-18 23:48:34 CET
Make a F2FS partition -> no button to set label (yes in expert mode)
It can still label ext4, Btrfs...  but not F2FS anymore!

I know it worked during 8beta, as i was testing F2FS as mgalive-persist
Morgan Leijström 2021-01-18 23:49:22 CET

CC: (none) => mageia
Assignee: bugsquad => mageiatools

Comment 1 Martin Whitaker 2021-01-20 00:32:42 CET
Looking at the source code, I can see no indication that this was ever supported. It's not possible to do so currently because f2fs-tools doesn't include a tool that allows you to change the label of a f2fs filesystem, and the diskdrake GUI only enables the Label button if there's a tool to do the job.
Comment 2 Morgan Leijström 2021-01-20 12:07:40 CET
OOPS sorry i seem to remembered this wrong. I was using F2FS on classic install. and Btrfs on Live... thought i tested both systems on both install types.. that is what you get from watching TV while testing too much at the same time...

For labelling F2FS we have to manually i.e

 mkfs.f2fs -f -l somelabel /dev/sdc4

Live try to use it but fail stopping while booting (messages scroll too fast to see first error, but afterwards i see nothing was written to that filesystem, but it can be written by another system)

Live on F2FS may be for another enhancement request.

Summary: Diskdrake can no longer label F2FS (regression) => Diskdrake can not label F2FS. mkfs.f2fs can.
Severity: normal => enhancement

Comment 3 Morgan Leijström 2021-02-27 00:24:28 CET
(In reply to Morgan Leijström from comment #2)
> Live on F2FS may be for another enhancement request.

You beat me to it: I am running a Live with encrypted F2FS mgalive-persist now

 :)   Thanks!

I know your last input on this issue was in another bug but I failed to find which now.

Still command line needed to be used after diskdrake, in my case:

mkfs.f2fs -f -l mgalive-persist /dev/mapper/crypt_sdb6