diff options
author | wcohen <wcohen> | 2005-08-18 19:46:32 +0000 |
---|---|---|
committer | wcohen <wcohen> | 2005-08-18 19:46:32 +0000 |
commit | 75a163d33bf8ea239d5e6a10be1e293c5278f3c7 (patch) | |
tree | b5fdf5fd374c40eb0e898441ebbf05f1c87ffb6f | |
parent | bc8d0d95c79b6994f0829ede307d42a35caf641f (diff) | |
download | systemtap-steved-75a163d33bf8ea239d5e6a10be1e293c5278f3c7.tar.gz systemtap-steved-75a163d33bf8ea239d5e6a10be1e293c5278f3c7.tar.xz systemtap-steved-75a163d33bf8ea239d5e6a10be1e293c5278f3c7.zip |
Check to see if relayfs available via /proc/filesystems.
-rw-r--r-- | ChangeLog | 4 | ||||
-rwxr-xr-x | stp_check.in | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +2005-08-18 Will Cohen <wcohen@redhat.com> + + * stp_check.in: See if relayfs available filesystem. + 2005-08-18 Roland McGrath <roland@redhat.com> * loc2c.c (struct location): New member `emit_address'. diff --git a/stp_check.in b/stp_check.in index 92ef4fed..a8d7c1ce 100755 --- a/stp_check.in +++ b/stp_check.in @@ -33,7 +33,7 @@ load_module() prefix=@prefix@ VAR_DIR=@localstatedir@/cache/systemtap -RELAYFS=`grep " relayfs_poll" /boot/System.map-\`uname -r\`` +RELAYFS=`grep "relayfs" /proc/filesystems` if [ -z "$RELAYFS" ] then RELAYFS=`/sbin/lsmod | grep relayfs` |