mirror of
https://gitee.com/openharmony/third_party_f2fs-tools
synced 2024-11-23 01:59:54 +00:00
b5af7953f8
"You appear to have dropped i_btime - no big deal, you weren't using it anyway. However if you ever want to support NFS export you will need some value which is assigned when the inode is allocated and never changed until it is de-allocated. This is used to detect when an NFS file-handle refers to a previous incarnation of an inode and so should be rejected as STALE. i_btime could have possibly provided this, but not any more. You might want to add something back. ext3 uses "i_generation" and has an 's_next_generation' in the superblock to ensure that each new inode gets a new generation number. You've also dropped i_atime. I can certainly understand the desire to do that, but I wonder if it is entirely wise. There are some use-cases where i_mtime is a poor substitute. Also 'current_depth' looks a little odd without a 'i_' prefix. It wouldn't hurt to have a comment noting that it is for directories." >From Neil Brown. Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com> |
||
---|---|---|
m4 | ||
man | ||
mkfs | ||
AUTHORS | ||
ChangeLog | ||
configure.ac | ||
COPYING | ||
INSTALL | ||
Makefile.am | ||
NEWS | ||
README |
F2FS format utilility --------------------- To use f2fs filesystem, you should format the storage partition with this utilility. Otherwise, you cannot mount f2fs. Initial compilation ------------------- Before compilation initially, autoconf/automake tools should be run. # autoreconf --install How to compile -------------- # ./configure # make How to run by default --------------------- $ ./mkfs.f2fs -l [LABEL] $DEV For more mkfs options, see man page.