Hi,
I have a number of units using Tinycore 7.2. I usually build my own kernel and keep it up to date (as much as possible). Using kernel 5.3.x everything works fine, but once I use kernel 5.4+ (currently 5.6.14) TCZs won't mount.
There is a message on DMESG saying " Squashfs: Unknown Parameter 'bs' ".
I looked into some kernel reports:
https://lore.kernel.org/lkml/20191130181548.GA28459@gentoo-tp.home/T/ and apparently its due to Squashfs being handled by the kernel.
I modified fs/fs_context.c to have this:
if (strcmp(param->key, "bs") == 0){
return 0;
}
return invalf(fc, "%s: Unknown parameter '%s'",
fc->fs_type->name, param->key);
which seems to do the trick.
What I'm confused about is that I can't find a mount line including the 'bs' option anywhere on /etc/init.d/ which is where tc-config tc-funcions exists.
Any idea where the 'bs' option is added to mount?
I can work around the problem in the kernel but I'm just curious where its included on the mounting of the TCZ.
Thanks