Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

F2FS tools need a serious clean up #21

Open
CliveMcCarthy opened this issue Oct 18, 2023 · 1 comment
Open

F2FS tools need a serious clean up #21

CliveMcCarthy opened this issue Oct 18, 2023 · 1 comment

Comments

@CliveMcCarthy
Copy link

Using f2fs tools on Ubuntu:
I wanted to format half-a-dozen USB flash drives to be identical and have the F2FS filesystem. I'm 'lazy' and wanted to write a simple shell script to do the job. But first, sensibly, I needed to see what options mkfs.f2fs had and then use them in the script.

After a series of attempts I couldn't get the mkfs.f2fs to work. It simply said it couldn't find the device. So I tried mkfs.ext4 and it worked just fine.

Frustrated I gave up on the idea of writing the script and used the disk drive GUI instead. However, even then it seems that mkfs.f2fs would only work if the drive was already ext4 formatted -- not the plain FAT format that the Samsung USB flash drives normally come with.

I also note that when a drive is F2FS formatted the disk drive GUI says that the contents are: "unknown (f2fs 1.11)" -- quite ugly.

My sense is that the F2FS tools need a serious clean up.

@kalvdans
Copy link

kalvdans commented Jul 3, 2024

Did you try with mkfs.f2fs -f flag?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants