Replies: 4 comments 3 replies
-
There are no locales installed on DietPi images, aside of the mandatory
This is the default already: # apt-config dump | grep -i downloaded
Binary::apt::APT::Keep-Downloaded-Packages "0";
The ext4 journal is THE huge advantage of ext4 vs older variants, lowering the risk of permanent data loss dramatically. ~75% of our users still use SD cards, so any help against filesystem corruption and data loss is important. So this will definitely stay enabled on images we ship.
This lowers I/O performance and raises CPU usage, not feasible in many use cases and low power SBCs. We do not use the Armbian build scripts, but our own. Enabling compression on Btrfs is however trivial, I'm just not sure if this is really a good default. But we may provide F2FS and Btrfs rootfs images in the future. F2FS on RPi is simple, since it is compiled into the kernel, but Btrfs is not. Hence for RPi it would require adding an initramfs, which again raises disk usage and I/O (on kernel upgrades). On other SBCs, an initramfs is used already, but a single partition only. For a F2FS and Btrfs rootfs partition, it requires a dedicated boot partition where kernel, dtb and initramfs are located. |
Beta Was this translation helpful? Give feedback.
-
The purpose of localepurge is avoid installing the extra locales that are bundled with deb packages. They get installed regardless of actual system locale, just check Another path that may use some cleanup is
ok, i agree with having the safer default, it can still be easily disabled without reformatting.
Btrfs is listed in |
Beta Was this translation helpful? Give feedback.
-
localepurge is also using dpkg filters by default, and provides a gui for the user to select which locales to keep.
In the NanoPiR1 Bullseye image is builtin for some reason:
|
Beta Was this translation helpful? Give feedback.
-
It is:
Why not simply adding an option to run
No, but they get cleaned only when the install process is completed, which confused me initially. |
Beta Was this translation helpful? Give feedback.
-
Further optimizations to reduce disk usage:
tune2fs -O ^has_journal /dev/mmcblk0p1
, orROOTFS_TYPE=btrfs; BTRFS_COMPRESSION=zstd
Beta Was this translation helpful? Give feedback.
All reactions