答:请看include/image.mk中的以下定义:
define Image/mkfs/squashfs
$(STAGING_DIR_HOST)/bin/mksquashfs4 $(call mkfs_target_dir,$(1)) $@
-nopad -noappend -root-owned
-comp $(SQUASHFSCOMP) $(SQUASHFSOPT)
-processors 1
$(if $(SOURCE_DATE_EPOCH),-fixed-time $(SOURCE_DATE_EPOCH))
endef
SQUASHFSOPT := -b $(SQUASHFS_BLOCKSIZE)
SQUASHFS_BLOCKSIZE := $(CONFIG_TARGET_SQUASHFS_BLOCK_SIZE)k
从以上定义可以看出制作squashfs的关键参数由openwrt中的配置项CONFIG_TARGET_SQUASHFS_BLOCK_SIZE来决定,通过修改此配置项的值即可改变squashfs文件系统