[Freemint-list] fsck.sh, progress.. or well any output?

Peter Slegg p.slegg at scubadivers.co.uk
Sat Nov 5 17:21:07 MSK 2016


> Date: Sat, 5 Nov 2016 17:55:18 +1000
> From: Miro Krop??ek <miro.kropacek at gmail.com>
> Subject: Re: [Freemint-list] fsck.sh, progress.. or well any output?
> To: Peter Slegg <p.slegg at scubadivers.co.uk>
> Cc: freemint-list at atariforge.org
> On 5 November 2016 at 07:16, Peter Slegg <p.slegg at scubadivers.co.uk> wrote:
>
> > I am missing something here. What should the fsck command arguments be ?
>
>
> What about man pages...
>
> *-C This  option  causes  e2fsck to write completion information to the
> specified file descriptor so that the progress of the filesystem check can
> be monitored.  This option is typically used by programs which are running
> e2fsck.  If the file descriptor number is negative, then absolute value of
> the file descriptor will be used, and the progress information will be
>  suppressed  initially.   It  can  later  be enabled by sending the e2fsck
> process a SIGUSR1 signal.  If the file descriptor specified is 0, e2fsck
> will print a completion bar as it goes about its business. This requires
> that e2fsck is running on a video console or terminal.*
>
> So...
>
> 1. The "-" parameter seems wrong, you should supply a number there
> 2. If you supply a negative number, the output is suppressed (somebody has
> exactly this problem earlier)
>

I had a look (and online) earlier but missed that bit about the fd values and
their functions.

The script I am running hasn't changed since May 2013 so something else
must have changed in fsck


Regards,

Peter






More information about the Freemint-list mailing list