[PATCH] mount: support the sizelimit and offset option for loop devices
Steffen Trumtrar
s.trumtrar at pengutronix.de
Fri Sep 25 08:17:51 UTC 2020
Hi!
Steffen Trumtrar <s.trumtrar at pengutronix.de> writes:
> Starting with linux kernel v5.4 squashfs has a more strict parameter
> checking implemented. Unlike util-linux mount, busybox never supported
> the sizelimit option but simply forwards it to the kernel.
> Since v5.4 mounting will fail with
>
> squashfs: Unknown parameter 'sizelimit'
>
> Support the sizelimit parameter by setting it in the LOOP_SET_STATUS64
> structure before handing it to the kernel.
>
> While at it also add support for the offset option, which currently will
> always be set to 0.
>
> Signed-off-by: Steffen Trumtrar <s.trumtrar at pengutronix.de>
Gentle Ping!
Is this patch completely wrong or did the patch just got lost somewhere?
Best regards,
Steffen Trumtrar
--
Pengutronix e.K. | Dipl.-Inform. Steffen Trumtrar |
Steuerwalder Str. 21 | https://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686| Fax: +49-5121-206917-5555 |
More information about the busybox
mailing list