]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit
mke2fs: configure encoding during superblock initialization
authorGabriel Krisman Bertazi <krisman@collabora.co.uk>
Sat, 1 Dec 2018 00:39:03 +0000 (19:39 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 3 Dec 2018 04:31:22 +0000 (23:31 -0500)
commite7236a9476cd1fa5296fbc4aa573b36426901a08
tree37b836d72f79db2ab4b32a3b645903e29303e5de
parentd85c5a615500dd410f60e8bfccc94f34c85c76f2
mke2fs: configure encoding during superblock initialization

This patch implements two new extended options to mkefs, allowing the
user to specify an encoding for file name operations and encoding flags
during filesystem creation.  We provide default flags for each encoding,
which the user can overwrite by passing -E fname_encoding-flags to mkfs.

If the user doesn't specify an encoding, the default value from
options.fname_encoding in mke2fs.conf.in file will be used.

Signed-off-by: Gabriel Krisman Bertazi <krisman@collabora.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
lib/e2p/feature.c
lib/ext2fs/initialize.c
misc/mke2fs.8.in
misc/mke2fs.c
misc/mke2fs.conf.5.in
misc/mke2fs.conf.in