|
From: Jo E. S. <jo...@on...> - 2025-10-23 19:30:49
|
Back in 2011 I wrote a c replacement for the fscheck.sh shell script for VanillaMiNT. It turned out to have a couple of nasty bugs so I removed it with the intention of fixing it and adding it again. Now, 14 years later, I fixed the bugs and improved it slightly. It can be downloaded from https://atari.joska.no/fscheck/ It doesn't depend on external binaries except the various fsck's, so it should work fine with even the most basic setup. Doesn't make much sense without atleast one ext2 or minix partition though, as the FAT fsck insists on checking the entire filesystem every time. It can also be used with fscheck.sh - it can generate an fstab- compatible list of drives which then can be used by a slightly modified fscheck.sh. Then there is no need to manually maintain /etc/fstab. E.g. fscheck -fstab -skipfs dos > /ram/fstab ...will generate an "fstab" with all drives with other filesystems than dos/FAT. Sources included. Jo Even |