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

Lack of proper documentation in mkfs.f2fs manpage #4

Open
jiblime opened this issue Aug 10, 2019 · 0 comments
Open

Lack of proper documentation in mkfs.f2fs manpage #4

jiblime opened this issue Aug 10, 2019 · 0 comments

Comments

@jiblime
Copy link

jiblime commented Aug 10, 2019

There is not enough explanation for what each option does in mkfs.f2fs.

Here are the supported features for one's current f2fs-tools version, in my case g-dev-test branch. This is not in the manpages for mkfs.f2fs.
ls /sys/fs/f2fs/features:

atomic_write block_zoned encryption extra_attr flexible_inline_xattr inode_checksum inode_crtime lost_found project_quota quota_ino sb_checksum
So...
cat /sys/fs/f2fs/features/*:

supported
supported
supported
supported
supported
supported
supported
supported
supported
supported
supported

Great!

But now I have to read f2fs-tools/mkfs/f2fs_format_main.c to know proper syntax.

The full list with correct wording: encrypt extra_attr flexible_inline_xattr inode_checksum inode_crtime project_quota compression

Notes: atomic_write and quota_ino are supported but not available as an option; compression is only available in this most recent commit. block_zoned is handled by the -m flag.

Proposed resolution: please help users understand the filesystem parameters better.

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

1 participant