Sophie

Sophie

distrib > Fedora > 13 > i386 > by-pkgid > 95299258dbdf9a86cefd89b97c0d81e5 > files > 186

systemtap-1.2-1.fc13.i686.rpm

title: Monitor read/write of MBR (boot sector) area of block devices
name: mbrwatch.stp
keywords: io monitoring
description:  The mbrwatch.stp script reports any attempted reads/writes of the first few sectors of a raw block device.
test_check: stap -p4 mbrwatch.stp
test_installcheck: stap mbrwatch.stp -c "dd of=/dev/null count=1 if=/dev/`grep -v major /proc/partitions | grep . | awk '{print $4}' | head -1`"