Go to file
Jaegeuk Kim b5af7953f8 Enhancement: add i_atime and i_generation
"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>
2012-11-26 19:45:59 +09:00
m4 mkfs: Initial commit for patch v2 series 2012-11-26 19:45:59 +09:00
man mkfs: Initial commit for patch v2 series 2012-11-26 19:45:59 +09:00
mkfs Enhancement: add i_atime and i_generation 2012-11-26 19:45:59 +09:00
AUTHORS mkfs: Initial commit for patch v2 series 2012-11-26 19:45:59 +09:00
ChangeLog mkfs: Initial commit for patch v2 series 2012-11-26 19:45:59 +09:00
configure.ac mkfs: Initial commit for patch v2 series 2012-11-26 19:45:59 +09:00
COPYING mkfs: Initial commit for patch v2 series 2012-11-26 19:45:59 +09:00
INSTALL mkfs: Initial commit for patch v2 series 2012-11-26 19:45:59 +09:00
Makefile.am mkfs: Initial commit for patch v2 series 2012-11-26 19:45:59 +09:00
NEWS mkfs: Initial commit for patch v2 series 2012-11-26 19:45:59 +09:00
README mkfs: Initial commit for patch v2 series 2012-11-26 19:45:59 +09:00

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.