X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=grml-hwinfo;h=29c898e492b75c49fbf49193eadfc968a61d5dc5;hb=866e945d70b66ce43c1d15e2be3c9284788ecacc;hp=8f428aa3ef4bea6f2fc2055ba58ec478c7c359c3;hpb=685c3ecaf595dc780d941507162516d7f9fc94b7;p=grml-hwinfo.git diff --git a/grml-hwinfo b/grml-hwinfo index 8f428aa..29c898e 100755 --- a/grml-hwinfo +++ b/grml-hwinfo @@ -94,7 +94,7 @@ mkdir info || exit -1 [ -r /proc/bus/pnp ] && lspnp > lspnp [ -r /proc/bus/usb ] && lsusb > lsusb cat /proc/partitions > partitions - [ -r /proc/ide/ide?/hd?/geometry ] && grep . /proc/ide/ide?/hd?/geometry /dev/null | sed -e 's#/proc/ide/ide./##' > proc_ide + find /proc/ide/ -name geometry -exec grep . {} \; > proc_ide 2>/dev/null df -h > df 2>/dev/null for i in free lsmod mount lsdev ; do exectest $i && $i > $i