> >I can send in a patch if you want (that just changes the docs, but not
> >the functionality).
>
> Don't bother. It will change in 2.5 anyway, I can live with the odd
> query until then. If you really want to get only the version number
> then this will work for modutils 2.x for x >= 3.
>
> (/sbin/depmod -V -n | head -1) 2>/dev/null
I was just thinking to write -V "output version in addition to normal
operation" in --help, nothing bigger than like 5 minutes.
-- Matthias Andree - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/