From dcb67f4be523c1f82dcc7287860a7c93ff2c4cc1 Mon Sep 17 00:00:00 2001 From: adilger Date: Mon, 25 Aug 2003 23:09:20 +0000 Subject: [PATCH] Script to set MDS, OST, client to wildly different dates for mtime testing. Then, dates in the filesystem that are 1973 are MDS, 1976 are OST, and those in Aug (1979) are the client. These also conveniently appear as ~101010101, ~202020202, and ~303030303 in unix time format (seconds since epoch). --- lustre/tests/set_dates.sh | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 lustre/tests/set_dates.sh diff --git a/lustre/tests/set_dates.sh b/lustre/tests/set_dates.sh new file mode 100644 index 0000000..b2a9979 --- /dev/null +++ b/lustre/tests/set_dates.sh @@ -0,0 +1,4 @@ +#!/bin/sh +[ `hostname` = "uml1" ] && date --set="Mar 14 20:21:41 MDT 1973" #101010101 +[ `hostname` = "uml2" ] && date --set="May 26 22:43:22 MDT 1976" #202020202 +[ `hostname` = "uml3" ] && date --set="Aug 9 01:05:03 MDT 1979" #303030303 -- 1.8.3.1