[LTP] [PATCH v2 1/1] ver_linux: Print filesystems

Petr Vorel pvorel@suse.cz
Wed Nov 3 17:20:25 CET 2021


> > => which is IMHO nogo. I could redirect to a file and cut it after, but in that
> > case v2 is IMHO much better.

> But still we don't need that grep part, right?

> So it should be something as:

> 	if `df -hT 2>/dev/null >/dev/null`; then
> 		df -hT
> 	else
> 		df
> 	fi
Merged this version, thanks!

Kind regards,
Petr


More information about the ltp mailing list