2 # Utility script to perform minor modifications to the read-write mounted
3 # snapshot in order to demonstrate the changes w.r.t. the read-only snapshot
5 # Copyright (C) 2001 Cluster File Systems, Inc.
7 # This code is issued under the GNU General Public License.
8 # See the file COPYING in this distribution
10 OBDDIR="`dirname $0`/.."
11 . $OBDDIR/demos/config.sh
13 plog chmod 777 $MNTOBD # change attributes on an existing file
14 plog rm $MNTOBD/a # delete an existing file
15 echo "echo today >> $MNTOBD/hello" # modify an existing file
16 echo today >> $MNTOBD/hello
17 plog cp /etc/group $MNTOBD # create a new file
18 plog ln -s goodbye $MNTOBD/newlink # create a new symlink