Current Path : /usr/lib/rpm/redhat/ |
Current File : //usr/lib/rpm/redhat/find-provides.ksyms |
#! /bin/sh IFS=$'\n' for module in $(grep -E '/lib/modules/.+\.ko$'); do nm $module \ | sed -r -ne 's:^0*([0-9a-f]+) A __crc_(.+):0x\1 \2:p' \ | awk --non-decimal-data '{printf("ksym(%s) = 0x%08x\n", $2, $1)}' done \ | sort -u