[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] fscheck.sh




The unix utility "blkid" seems to be able to identify the fs type. From there you would just have to write a bash script to do the job.

Thanks,
Mark

On 12/21/2014 10:24 AM, Peter Slegg wrote:
On Sun, 21 Dec 2014 15:17:57 , maanke <makehr@ndh.net> wrote:
It occurs also on a milan, but I have found the issue, it was in the
fscheck.sh script.


Am 21.12.2014 um 11:46 schrieb Jo Even Skarstein <joska@online.no>:

On fr., 2014-12-19 at 17:33 +0100, M.A. Kehr wrote:

This works without problems with the old e2fsck 1.27 from rpm
archive.
I now have installed the new e2fsck ports of Vincent and it does not
work anymore. On boot I only get a message that the filesystem has to be
checked but the checking is not made. It boots anyway.
On what system is this? On the Firebee (running FireTOS) there is a
similar problem, where e2fsck claims that the filesystem is dirty. But
in this case the check is run.

The old e2fsck doesn't work on my Firebee, it does not recognise the
ext2-partitions that's initialized on Linux.

Jo Even

I scanned through the e2fs forum discussion the other day and I noticed
that one suggestion to improve the boot-time disk checks was to auto-detect
the e2fs partitions instead of relying on fstab which could be wrong if
you swap hard disks.

I asked about something similar a few years ago.

How could this be done in fscheck.sh  ?


Peter