Created attachment 200612 [details]
shar archive for ezfsck
A utility script that automatically carries out fsck on all UFS/EXT2/EXT3/EXT4
hard-disk partitions listed in /etc/fstab.
Created attachment 200613 [details]
Correct shar archive for ezfsck
Wrong shar was previously uploaded. Sorry !
Tx for taking this up.
I am not particularly sure whether the following 2 settings in the Makefile are right (considering dependency on fsck.ext2:sysutils/e2fsprogs):
Can you please confirm whether these settings are valid ?
Created attachment 200623 [details]
shar archive for ezfsck with minor update
Spotted a missing feature - let user skip fsck during interactive operation.
This feature has now been bundled in, and I am quite sure ezfsck is final now.
HDPREFIX in the script implicitly assumes ada-only disks ? What about nvd0 or da0 like drives ?
Glad to hear from you, as well as to reassure you that I personally find ezfsck extremely useful after a bad shutdown.
The 'ada-only' hook is deliberate. Removable disks almost never need to fsck'ed after a bad shutdown, but each hard-disk partition should ideally by fsck'ed. So I do not cater to da0. As for nvd0, I have no idea what that is (removable or fixed hard-disk ?).
Kindly advise whether you consider the scheme advisable, compared to greater flexibility for looping in non-ada disks too.
da0 are scsi or raid drives
nvd0 are nvme drives
so they are not always removable
Thanks for reverting so quickly.
I think I shall change the scheme to optionally pull in other disks too via options. And I glad to learn about nvme drives.
Please hold on for a day or two, and I will upload a new shar.
Created attachment 201194 [details]
shar archive for ezfsck with major update
ezfsck now iterates over /dev/[ada*/da*/nvd*] - ada* is mandatory; other types can be specified on the command-line invocation.
I do not have any nvme disk, and therefore request committer to check --nvme at his/her end.