mirror of
https://github.com/ceph/ceph
synced 2025-01-15 07:23:16 +00:00
15 lines
230 B
Bash
Executable File
15 lines
230 B
Bash
Executable File
#!/bin/bash
|
|
|
|
echo 1 > file1
|
|
echo 2 > file2
|
|
echo 3 > file3
|
|
mkdir .snap/snap1
|
|
echo 4 > file4
|
|
now=`ls`
|
|
then=`ls .snap/snap1`
|
|
rmdir .snap/snap1
|
|
if [ "$now" = "$then" ]; then
|
|
echo live and snap contents are identical?
|
|
false
|
|
fi
|