Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Fixes to shell scripts to check for errors and other improvements
[fs/lustre-release.git]
/
lustre
/
demos
/
obdfsclean.sh
1
#!/bin/sh
2
# Utility script for cleaning up a simple OBDFS mounted filesystem
3
OBDDIR="`dirname $0`/.."
4
5
. $OBDDIR/demos/config.sh
6
7
umount $MNTOBD
8
rmmod obdfs
9
10
$OBDDIR/class/obdcontrol -f << EOF
11
cleanup
12
detach
13
quit
14
EOF
15
16
rmmod obdext2
17
rmmod obdclass
18
19
$OBDDIR/demos/baseclean.sh