summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Zeuthen <davidz@redhat.com>2006-08-03 12:43:16 -0400
committerDavid Zeuthen <davidz@redhat.com>2006-08-03 12:43:16 -0400
commit2996d7c2ac33eaecacd3a57a74d30c1c48e26790 (patch)
tree9d2f32d04b27261963f013bf797eec47d17027b7
parentdd861aad6a6f67ae1195c149569fe0b01cc00e12 (diff)
add script examples/watch-mount-state.sh for monitoring key state files
This is useful when debugging the Mount/Unmount functions.
-rwxr-xr-xexamples/watch-mount-state.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/watch-mount-state.sh b/examples/watch-mount-state.sh
new file mode 100755
index 00000000..5345771c
--- /dev/null
+++ b/examples/watch-mount-state.sh
@@ -0,0 +1,2 @@
+#!/bin/sh
+watch -n 0.5 "clear; mount; echo; ls -l /media; echo; cat /media/.hal-mtab; echo; ls -l /dev/mapper/; echo; tree /dev/disk/by-uuid echo"