TransWikia.com

F2FS feature-list

Unix & Linux Asked by user252842 on December 29, 2021

In the man page of mkfs.f2fs, I see the option:

-O feature-list Specify a feature list in order f2fs filesystem will supports. e.g “encrypt” and so on

I’d like to know how can I get the full list of the optional features of f2fs and whether it is possible to modify existing file system and enable some features without data loss.

2 Answers

Looking at https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git/tree/mkfs/f2fs_format_main.c, the definition of parse_feature is taken from the file include/f2fs_fs.h. This function uses a table with 10 feature names (not all make sense for normal users!): https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git/tree/include/f2fs_fs.h#n1361:

encrypt
extra_attr
project_quota
inode_checksum
flexible_inline_xattr
quota
inode_crtime
lost_found
verity
sb_checksum

Answered by Sven on December 29, 2021

Answered by Sander on December 29, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP