]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit - misc/util.c
mke2fs: print a message when creating a regular file
authorTheodore Ts'o <tytso@mit.edu>
Mon, 5 May 2014 03:40:58 +0000 (23:40 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 5 May 2014 14:29:35 +0000 (10:29 -0400)
commita11ccebd899a40986948afd81f218271605b650f
treedd4e01cda3c961ca4a7d4f4143427f4d07bebefe
parentcd84e9a337987658b8508fac2e4de4bd52e4b48d
mke2fs: print a message when creating a regular file

We've added the ability to automatically recreate a file if it doesn't
exist prior to creating the file system, since this is often used (for
example) when managing file system images for use in virtual machines.
We should at least notify the user that this is going on to avoid
surprises in the case of misspelled device/file names.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
misc/mke2fs.c
misc/util.c
misc/util.h