Re: [LTP] [PATCH] tst_supported_fs: Implement checking paths against skiplist

Martin Doucha
2022-09-22T10:58:11Z

On 22. 09. 22 12:55, Cyril Hrubis wrote:
> The real problem is that the line between ext2, ext3 and ext4 is really
> blurry to an extend where it's hard to say which filesystem are you
> working with. For example while ext2 kernel driver still exists and is
> in use on embedded hardware modern distributions use single ext driver
> to handle all three filesystems. Also I think that it was possible to
> mount ext3 with ext2 driver at some point which disabled the journaling.

Still, I'd argue that blindly assuming any FS with ext2/3/4 magic number
is always mounted as ext4 is a better solution than returning a string
that never matches skiplists.

--
Martin Doucha mdoucha@suse.cz
QA Engineer for Software Maintenance
SUSE LINUX, s.r.o.
CORSO IIa
Krizikova 148/34
186 00 Prague 8
Czech Republic