
Re: ntfsresize - Quiet option
Hi,
Quote:
I would like to request that ntfsresize detect weather stdout/stderr are going to console and not display this information, or have a quiet option that turns it off. Otherwise I'll have to patch it again myself

Well, apparently there is already an option for that (-P --no-progress-bar).
Do you have any difficulty with it ?
Problems have been mentioned earlier related to packages which start ntfsresize without connecting the standard input, leading to errors when ntfsresize requests confirming potentially dangerous actions. I recommend you repeat the -f to avoid them (e.g. -fff), I had to revert a patch which broke gparted.
For the same reason, I would like to avoid testing stdout/stderr, I do not have a full view of how ntfsresize is used within other packages.
Anyway, attached is a patch to implement an option -q --quiet which is just a synonym of -P, which might be a more usual name and in line with a similar option added recently to ntfsclone.
Regards
Jean-Pierre