[Devel] [PATCH hci-8.1] ve/fs: let a container mount ext2 and ext3 through the ext4 driver
no-reply at sashiko.virtuozzo.com
no-reply at sashiko.virtuozzo.com
Wed Oct 21 21:07:20 MSK 2026
> The ext4 driver also registers the ext2 and ext3 filesystem types, and
> those two carry none of the container flags ext4 itself has, so inside
> a container they are absent from /proc/filesystems and a mount of an
> ext2 or ext3 image fails with "unknown filesystem type", while the same
> image mounts as ext4. It is the same code either way, so give the two
> aliases the same flags; LTP formats its test devices as ext2 by default
> and every one of those tests breaks in a container on that mount.
>
> https://virtuozzo.atlassian.net/browse/VSTOR-132330
> Feature: fs: whiltelist what can be mounted in a CT
>
> Signed-off-by: Eva Kurchatova <eva.kurchatova at virtuozzo.com>
Sashiko has reviewed this patch and found no issues. It looks great!
--
Sashiko AI review · https://sashiko.vzint.dev/#/patchset/20261021180310.2341467-1-eva.kurchatova@virtuozzo.com?part=1
More information about the Devel
mailing list