Linux-Fsdevel Archive on
 help / color / Atom feed
* Re: Regression in squashfs mount option handling in v5.4
       [not found] <20191130181548.GA28459@gentoo-tp.home>
@ 2019-11-30 18:56 ` Randy Dunlap
  0 siblings, 0 replies; only message in thread
From: Randy Dunlap @ 2019-11-30 18:56 UTC (permalink / raw)
  To: Jeremi Piotrowski, linux-kernel, Linux FS Devel, Al Viro,
	David Howells, Linus Torvalds, Phillip Lougher

[adding Cc-s]

On 11/30/19 10:15 AM, Jeremi Piotrowski wrote:
> Hi,
> I'm working on an embedded project which uses 'rauc' as an updater. rauc mounts
> a squashfs image using
>   mount -t squashfs -o ro,loop,sizelimit=xxx squashfs.img /mnt
> On my system mount is busybox, and busybox does not know the sizelimit
> parameter, so it simply passes it on to the mount syscall. The syscall
> arguments end up being:
>   mount("/dev/loop0", "dir", "squashfs", MS_RDONLY|MS_SILENT, "sizelimit=xxx")
> Until kernel 5.4 this worked, since 5.4 this returns EINVAL and dmesg contains
> the line "squashfs: Unknown parameter 'sizelimit'". I believe this has to do
> with the conversion of squashfs to the new mount api. 
> This is an unfortunate regression, and it does not seem like this can be simply
> reverted. What is the suggested course of action?
> Please cc me on replies, I'm not subscribed to the list.
> Thanks,
> Jeremi

Reported-by: Randy Dunlap <>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, back to index

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20191130181548.GA28459@gentoo-tp.home>
2019-11-30 18:56 ` Regression in squashfs mount option handling in v5.4 Randy Dunlap

Linux-Fsdevel Archive on

Archives are clonable:
	git clone --mirror linux-fsdevel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-fsdevel linux-fsdevel/ \
	public-inbox-index linux-fsdevel

Example config snippet for mirrors

Newsgroup available over NNTP:

AGPL code for this site: git clone