If you like BoxMatrix then please contribute Supportdata, Supportdata2, Firmware and/or Hardware (get in touch).
My metamonk@yahoo.com is not reachable by me since september. Please use hippie2000@webnmail.de instead.

0
U

Property:filesystem core.squashfs

From BoxMatrix
(Redirected from filesystem core.squashfs)


BoxMatrix >> Configuration >> filesystem_core.squashfs @ BoxMatrix   -   IRC-Chat   -   Translate: de es fr it nl pl
News Selectors Models Accessories Components Environment Config Commands System Webif Software Develop Lexicon Community Project Gallery

Static-Config Bin-Files Audio-Files Crypto-Files Vartar-Items TFFS-Config Temp-Files Data-Dirs Inet-Providers VoIP-Providers Firmware Research

Binary-File

Goto:   Dependencies   -   Model-Matrix   -   SMW-Browser

Details

filesystem_core.squashfs is the rootfs image on models with nested squashfs.

This file is only present in the wrapper system of models with nested squashfs.

It is part of a minimalistic xz compressed squashfs wrapper filesystem.image which looks like this - 7490 fw 7.29:

drwxr-xr-x root/root      149 2021-11-05 11:16 /
drwxr-xr-x root/root      800 2021-11-05 11:16 /bin
lrwxrwxrwx root/root        7 2021-11-05 11:16 /bin/ash -> busybox
lrwxrwxrwx root/root        7 2021-11-05 11:16 /bin/base64 -> busybox
-rwxr-xr-x root/root   631572 2021-11-05 11:16 /bin/busybox
lrwxrwxrwx root/root        7 2021-11-05 11:16 /bin/cat -> busybox
lrwxrwxrwx root/root        7 2021-11-05 11:16 /bin/chgrp -> busybox
lrwxrwxrwx root/root        7 2021-11-05 11:16 /bin/chmod -> busybox
lrwxrwxrwx root/root        7 2021-11-05 11:16 /bin/chown -> busybox
lrwxrwxrwx root/root        7 2021-11-05 11:16 /bin/cp -> busybox
lrwxrwxrwx root/root        7 2021-11-05 11:16 /bin/date -> busybox
lrwxrwxrwx root/root        7 2021-11-05 11:16 /bin/dd -> busybox
lrwxrwxrwx root/root        7 2021-11-05 11:16 /bin/df -> busybox
lrwxrwxrwx root/root        7 2021-11-05 11:16 /bin/echo -> busybox
lrwxrwxrwx root/root        7 2021-11-05 11:16 /bin/egrep -> busybox
lrwxrwxrwx root/root        7 2021-11-05 11:16 /bin/false -> busybox
lrwxrwxrwx root/root        7 2021-11-05 11:16 /bin/fgrep -> busybox
lrwxrwxrwx root/root        7 2021-11-05 11:16 /bin/getopt -> busybox
lrwxrwxrwx root/root        7 2021-11-05 11:16 /bin/grep -> busybox
lrwxrwxrwx root/root        7 2021-11-05 11:16 /bin/gunzip -> busybox
lrwxrwxrwx root/root        7 2021-11-05 11:16 /bin/gzip -> busybox
lrwxrwxrwx root/root        7 2021-11-05 11:16 /bin/hostname -> busybox
lrwxrwxrwx root/root        7 2021-11-05 11:16 /bin/iostat -> busybox
lrwxrwxrwx root/root        7 2021-11-05 11:16 /bin/kill -> busybox
lrwxrwxrwx root/root        7 2021-11-05 11:16 /bin/ln -> busybox
lrwxrwxrwx root/root        7 2021-11-05 11:16 /bin/login -> busybox
lrwxrwxrwx root/root        7 2021-11-05 11:16 /bin/ls -> busybox
lrwxrwxrwx root/root        7 2021-11-05 11:16 /bin/mkdir -> busybox
lrwxrwxrwx root/root        7 2021-11-05 11:16 /bin/mknod -> busybox
lrwxrwxrwx root/root        7 2021-11-05 11:16 /bin/mkswap -> busybox
lrwxrwxrwx root/root        7 2021-11-05 11:16 /bin/more -> busybox
lrwxrwxrwx root/root        7 2021-11-05 11:16 /bin/mount -> busybox
lrwxrwxrwx root/root        7 2021-11-05 11:16 /bin/mpstat -> busybox
lrwxrwxrwx root/root        7 2021-11-05 11:16 /bin/mv -> busybox
lrwxrwxrwx root/root        7 2021-11-05 11:16 /bin/netstat -> busybox
lrwxrwxrwx root/root        7 2021-11-05 11:16 /bin/nice -> busybox
lrwxrwxrwx root/root        7 2021-11-05 11:16 /bin/pidof -> busybox
lrwxrwxrwx root/root        7 2021-11-05 11:16 /bin/ping -> busybox
lrwxrwxrwx root/root        7 2021-11-05 11:16 /bin/ping6 -> busybox
lrwxrwxrwx root/root        7 2021-11-05 11:16 /bin/printenv -> busybox
lrwxrwxrwx root/root        7 2021-11-05 11:16 /bin/ps -> busybox
lrwxrwxrwx root/root        7 2021-11-05 11:16 /bin/pwd -> busybox
lrwxrwxrwx root/root        7 2021-11-05 11:16 /bin/rm -> busybox
lrwxrwxrwx root/root        7 2021-11-05 11:16 /bin/rmdir -> busybox
lrwxrwxrwx root/root        7 2021-11-05 11:16 /bin/sed -> busybox
lrwxrwxrwx root/root        7 2021-11-05 11:16 /bin/setserial -> busybox
lrwxrwxrwx root/root        7 2021-11-05 11:16 /bin/sh -> busybox
lrwxrwxrwx root/root        7 2021-11-05 11:16 /bin/sleep -> busybox
lrwxrwxrwx root/root        7 2021-11-05 11:16 /bin/stat -> busybox
lrwxrwxrwx root/root        7 2021-11-05 11:16 /bin/stty -> busybox
lrwxrwxrwx root/root       20 2021-11-05 11:16 /bin/supportdata_argo.dpm -> /bin/supportdata.dpm
lrwxrwxrwx root/root       20 2021-11-05 11:16 /bin/supportdata_argo.dsl -> /bin/supportdata.dsl
lrwxrwxrwx root/root        7 2021-11-05 11:16 /bin/swapoff -> busybox
lrwxrwxrwx root/root        7 2021-11-05 11:16 /bin/swapon -> busybox
lrwxrwxrwx root/root        7 2021-11-05 11:16 /bin/sync -> busybox
lrwxrwxrwx root/root        7 2021-11-05 11:16 /bin/tar -> busybox
lrwxrwxrwx root/root        7 2021-11-05 11:16 /bin/touch -> busybox
lrwxrwxrwx root/root        7 2021-11-05 11:16 /bin/true -> busybox
lrwxrwxrwx root/root        7 2021-11-05 11:16 /bin/umount -> busybox
lrwxrwxrwx root/root        7 2021-11-05 11:16 /bin/uname -> busybox
lrwxrwxrwx root/root        9 2021-11-05 11:16 /bin/usermand -> usermand2
lrwxrwxrwx root/root        7 2021-11-05 11:16 /bin/vi -> busybox
drwxr-xr-x root/root        3 2021-11-05 11:16 /core
drwxr-xr-x root/root       26 2021-11-05 11:16 /dev
crw-rw-rw- root/root  247,  0 2021-11-05 11:16 /dev/led
drwxr-xr-x root/root       42 2021-11-05 11:16 /etc
-rw-r--r-- root/root      385 2021-11-05 11:16 /etc/inittab
lrwxrwxrwx root/root        9 2021-11-05 11:16 /etc/mtab -> /tmp/mtab
-rw-r--r-- root/root 31014912 2021-11-05 11:16 /filesystem_core.squashfs
drwxr-xr-x root/root      130 2021-11-05 11:16 /lib
-rwxrwxrwx root/root    31788 2021-11-05 11:15 /lib/ld-uClibc-1.0.31.so
lrwxrwxrwx root/root       14 2021-11-05 11:15 /lib/ld-uClibc.so.0 -> ld-uClibc.so.1
lrwxrwxrwx root/root       19 2021-11-05 11:15 /lib/ld-uClibc.so.1 -> ld-uClibc-1.0.31.so
lrwxrwxrwx root/root       19 2021-11-05 11:15 /lib/libc.so.0 -> libuClibc-1.0.31.so
-rwxrwxrwx root/root   952992 2021-11-05 11:15 /lib/libuClibc-1.0.31.so
drwxr-xr-x root/root        3 2021-11-05 11:16 /proc
drwxr-xr-x root/root      412 2021-11-05 11:16 /sbin
lrwxrwxrwx root/root        8 2021-11-05 11:16 /sbin/ar7login_frominternet -> ar7login
lrwxrwxrwx root/root       14 2021-11-05 11:16 /sbin/arp -> ../bin/busybox
lrwxrwxrwx root/root        4 2021-11-05 11:16 /sbin/dsltest -> dsld
-rwxr-xr-x root/root    12617 2021-11-05 11:16 /sbin/flash_update
lrwxrwxrwx root/root        6 2021-11-05 11:16 /sbin/fsck.ext2 -> e2fsck
lrwxrwxrwx root/root        6 2021-11-05 11:16 /sbin/fsck.ext3 -> e2fsck
lrwxrwxrwx root/root        6 2021-11-05 11:16 /sbin/fsck.ext4 -> e2fsck
lrwxrwxrwx root/root       14 2021-11-05 11:16 /sbin/halt -> ../bin/busybox
lrwxrwxrwx root/root       14 2021-11-05 11:16 /sbin/ifconfig -> ../bin/busybox
lrwxrwxrwx root/root       14 2021-11-05 11:16 /sbin/init -> ../bin/busybox
lrwxrwxrwx root/root       14 2021-11-05 11:16 /sbin/insmod -> ../bin/busybox
lrwxrwxrwx root/root       14 2021-11-05 11:16 /sbin/localize -> /sbin/eventadd
lrwxrwxrwx root/root       14 2021-11-05 11:16 /sbin/lsmod -> ../bin/busybox
lrwxrwxrwx root/root       14 2021-11-05 11:16 /sbin/modprobe -> ../bin/busybox
lrwxrwxrwx root/root       14 2021-11-05 11:16 /sbin/pivot_root -> ../bin/busybox
lrwxrwxrwx root/root       14 2021-11-05 11:16 /sbin/poweroff -> ../bin/busybox
-rwxr-xr-x root/root       54 2021-11-05 11:16 /sbin/reboot
lrwxrwxrwx root/root       14 2021-11-05 11:16 /sbin/rmmod -> ../bin/busybox
lrwxrwxrwx root/root       14 2021-11-05 11:16 /sbin/route -> ../bin/busybox
lrwxrwxrwx root/root       14 2021-11-05 11:16 /sbin/setconsole -> ../bin/busybox
lrwxrwxrwx root/root       18 2021-11-05 11:16 /sbin/showaddrs -> /./sbin/showroutes
lrwxrwxrwx root/root       14 2021-11-05 11:16 /sbin/switch_root -> ../bin/busybox
lrwxrwxrwx root/root       14 2021-11-05 11:16 /sbin/sysctl -> ../bin/busybox
lrwxrwxrwx root/root       16 2021-11-05 11:16 /sbin/udevadm -> /usr/bin/udevadm
lrwxrwxrwx root/root       14 2021-11-05 11:16 /sbin/vconfig -> ../bin/busybox
drwxr-xr-x root/root       27 2021-11-05 11:16 /tmp
-rw-r--r-- root/root        0 2021-11-05 11:16 /tmp/mtab
drwxr-xr-x root/root        3 2021-11-05 11:16 /var

The image mainly consists of busybox, uClibc and filesystem_core.squashfs.

The magic is performed in inittab and flash_update:

me@fake:$ cat /etc/inittab 

null::sysinit:/bin/mount -t squashfs /filesystem_core.squashfs /core -o loop
null::sysinit:/bin/mount /dev /core/dev -o bind
null::sysinit:/sbin/pivot_root /core/ /core/wrapper/
null::sysinit:/wrapper/sbin/flash_update

/dev/ttyS0::sysinit:/etc/boot.d/1                  # does not exist
/dev/ttyS0::askfirst:-/bin/sh
/dev/ttyS0::shutdown:/bin/sh -c /var/post_install  # does not exist
::shutdown:/bin/kill -- -1
::shutdown:/bin/sleep 5

The sysinit part consists of 4 actions:

  • The filesystem_core.squashfs image is mounted as a squashfs loop device to /core
  • The current /dev devices are bind mounted to /core/dev
  • The current rootfs is moved to /core/wrapper and switched to /core
  • flash_update is called from the wrapper rootfs

Inside the booted 7490 it looks like this:

fritz3:/var/mod/root $ mount

rootfs on / type rootfs (rw)
/dev/root on /wrapper type yaffs (ro,relatime)
devtmpfs on /wrapper/dev type devtmpfs (rw,relatime,size=119696k,nr_inodes=29924,mode=755)
/dev/loop0 on / type squashfs (ro,relatime)
devtmpfs on /dev type devtmpfs (rw,relatime,size=119696k,nr_inodes=29924,mode=755)
proc on /proc type proc (rw,relatime)
tmpfs on /var type tmpfs (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
devpts on /dev/pts type devpts (rw,relatime,mode=600,ptmxmode=000)
securityfs on /sys/kernel/security type securityfs (rw,relatime)
none on /sys/kernel/debug type debugfs (rw,relatime)
/dev/mtdblock4 on /var/flash type yaffs2 (rw,sync,relatime)
/dev/mtdblock5 on /var/media/ftp type yaffs2 (rw,sync,relatime)

As you can see /wrapper is a yaffs filesystem.

It is a decompressed copy of the complete filesystem.image content made by flash_update.

Model-Matrix

Daily updated index of the presence, path and size of this binary for each model. Last update: 2022-11-30 06:02 GMT.
Showing all models using this binary. Click any column header (click-wait-click) to sort the list by the respective data.
The (main/scrpn/boot/arm/prx/atom) label in the Model column shows which CPU is meant for models with multiple Linux instances.
Note that this list is merged from Firmware-Probes of all known AVM firmware for a model, including Recovery.exe and Labor-Files.

Model Firmw Path Size
FRITZ!Box 3272 5.50 - 6.88 / 14.1M - 19.7M
FRITZ!Box WLAN 3370 5.01 - 6.30 / 14.1M - 17.5M
FRITZ!Box 3390 5.50 - 6.30 / 17.2M - 19.6M
FRITZ!Box 3490 (main) 6.20 - 7.30 / 17.9M - 27.1M
FRITZ!Box 5490 (main) 7.27 - 7.29 / 28.3M
FRITZ!Box 5491 (main) 7.27 - 7.29 / 31.2M - 31.3M
FRITZ!Box 6820 LTE v1 6.40 - 7.29 / 21.8M - 28.1M
FRITZ!Box 6820 LTE v2 6.40 - 7.29 / 21.8M - 28.1M
FRITZ!Box 6820 LTE v3 7.19 - 7.29 / 16.0M - 16.4M
FRITZ!Box 6840 LTE 5.07 - 6.30 / 15.8M - 20.1M
FRITZ!Box 7272 5.55 - 6.88 / 15.6M - 21.9M
FRITZ!Box 7362 SL 5.53 - 6.30 / 16.3M - 18.0M
FRITZ!Box 7369 6.30 - 6.32 / 18.5M
FRITZ!Box 7412 6.21 - 6.30 / 14.9M
FRITZ!Box 7430 6.26 - 7.29 / 18.1M - 24.1M
FRITZ!Box 7490 (main) 5.57 - 7.39 / 19.5M - 33.2M
16 models use this binary

SMW-Browser

Information is currently being retrieved from the backend.
 

Synonyms

Showing 1 related property.

f