After do a clean update of my Turris Omnia to OpenWRT version 24.10.0 I can see some changes:
- The rootfs is now ext4, previously f2fs, I can't find any issues or PRs on GitHub to know why this change. Does anyone know the reason?
- The file
/etc/config/ucitrack
no longer exists, I understand that its functionality has been taken over by some kind of dependency definition in the startup scripts.
- The file
/etc/config/ubihealthd
is new and empty. Does anyone know what it is for?
I think these are all the significant configuration changes I've seen as a user.
Are you using OpenWrt?
ubus call system board
Openwrt uses squashfs and jffs2 normally.
Yes, I'm using OpenWrt with squashfs:
# ubus call system board
{
"kernel": "6.6.86",
"hostname": "router",
"system": "ARMv7 Processor rev 1 (v7l)",
"model": "Turris Omnia",
"board_name": "cznic,turris-omnia",
"rootfs_type": "squashfs",
"release": {
"distribution": "OpenWrt",
"version": "24.10.1",
"revision": "r28597-0425664679",
"target": "mvebu/cortexa9",
"description": "OpenWrt 24.10.1 r28597-0425664679",
"builddate": "1744562312"
}
}
But I am referring to the fact that the loop0 (overlay) in 23.05 was f2fs and now in 24.10 it is ext4, as you can see:
# block info
/dev/loop0: UUID="ad37d33e-99e3-4fa5-877a-553460f38d67" LABEL="rootfs_data" VERSION="1.0" MOUNT="/overlay" TYPE="ext4"
/dev/mmcblk0p1: UUID="67FB-E888" VERSION="FAT16" MOUNT="/boot" TYPE="vfat"
/dev/mmcblk0p2: UUID="ca86acac-de3d0c52-3f678b95-f0421c85" VERSION="4.0" MOUNT="/rom" TYPE="squashfs"
I noticed it because I usually expand the partition (and the file system):
Before I used
###
# Resize the partition
###
cfdisk /dev/mmcblk0
###
# Set variables
###
LOOP="$(losetup -n -O NAME | sort | sed -n -e "1p")"
ROOT="$(losetup -n -O BACK-FILE ${LOOP} | sed -e "s|^|/dev|")"
OFFS="$(losetup -n -O OFFSET ${LOOP})"
###
# Setup loop device
###
LOOP="$(losetup -f)"
losetup -o ${OFFS} ${LOOP} ${ROOT}
###
# Resize the filesystem
###
fsck.f2fs ${LOOP}
mount ${LOOP} /mnt && umount ${LOOP}
resize.f2fs ${LOOP}
reboot
Now I use
###
# Resize the partition
###
cfdisk /dev/mmcblk0
###
# Set variables
###
LOOP="$(losetup -n -O NAME | sort | sed -n -e "1p")"
ROOT="$(losetup -n -O BACK-FILE ${LOOP} | sed -e "s|^|/dev|")"
OFFS="$(losetup -n -O OFFSET ${LOOP})"
###
# Setup loop device
###
LOOP="$(losetup -f)"
losetup -o ${OFFS} ${LOOP} ${ROOT}
###
# Resize the filesystem
###
e2fsck ${LOOP}
mount ${LOOP} /mnt && umount ${LOOP}
resize2fs -f ${LOOP}
reboot
1 Like