linux-xfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCHSET v2 0/3] xfsprogs: random fixes for 6.2
@ 2023-03-01 16:05 Darrick J. Wong
  2023-03-01 16:05 ` [PATCH 1/3] mkfs: check dirent names when reading protofile Darrick J. Wong
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Darrick J. Wong @ 2023-03-01 16:05 UTC (permalink / raw)
  To: djwong, cem; +Cc: linux-xfs, daan.j.demeyer

Hi all,

This is a rollup of the remaining random fixes I've collected for
xfsprogs 6.2.  First, we now check for invalid dirent names in the
protofile rather than let mkfs spit out a corrupt filesystem.

Second, we add some -p options so that one can specify a protofile in
the configuration file, and then make it so that users can turn on
substituting slashes for spaces in the dirent names in the protofile.

If you're going to start using this mess, you probably ought to just
pull from my git trees, which are linked below.

This is an extraordinary way to destroy everything.  Enjoy!
Comments and questions are, as always, welcome.

--D

xfsprogs git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfsprogs-dev.git/log/?h=xfsprogs-fixes-6.2
---
 man/man8/mkfs.xfs.8.in |   32 +++++++++++++++++++--
 mkfs/proto.c           |   37 +++++++++++++++++++++++--
 mkfs/proto.h           |    3 +-
 mkfs/xfs_mkfs.c        |   72 +++++++++++++++++++++++++++++++++++++++++++-----
 4 files changed, 129 insertions(+), 15 deletions(-)


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-03-03 11:32 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-01 16:05 [PATCHSET v2 0/3] xfsprogs: random fixes for 6.2 Darrick J. Wong
2023-03-01 16:05 ` [PATCH 1/3] mkfs: check dirent names when reading protofile Darrick J. Wong
2023-03-03 10:45   ` Carlos Maiolino
2023-03-01 16:05 ` [PATCH 2/3] mkfs: use suboption processing for -p Darrick J. Wong
2023-03-03 11:16   ` Carlos Maiolino
2023-03-01 16:05 ` [PATCH 3/3] mkfs: substitute slashes with spaces in protofiles Darrick J. Wong
2023-03-03 11:31   ` Carlos Maiolino

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).