Package: e2fsprogs
Version: 1.42.11-2
Severity: wishlist
File: /sbin/dumpe2fs

# dumpe2fs $1|grep -i 'mount count'
dumpe2fs 1.42.11 (09-Jul-2014)
Mount count:              24
Maximum mount count:      36

OK I must use 2>&- to get that version number out of the output.

But then I would miss real errors.

Like the ones from
for i in /dev/sd??*; do echo ===== $i; dumpe2fs $i 2>&-|egrep -i 'mount 
count|==='; done

So to avoid a additional big effort on the users part, please give a way
to turn off the version number.
E.g.,
# for i in /dev/sd??*; do echo ===== $i; dumpe2fs $i |egrep -i 'mount 
count|==='; done 2>&1|grep -v 09-Jul


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to