From 5bf77e10157d73770220be6bd2a2f3bc4ba5e3c9 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 21 Feb 1998 11:04:07 +0000 Subject: . --- tests/mv/TODO | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 tests/mv/TODO (limited to 'tests/mv') diff --git a/tests/mv/TODO b/tests/mv/TODO new file mode 100644 index 000000000..9cf9bfbce --- /dev/null +++ b/tests/mv/TODO @@ -0,0 +1,27 @@ +Use df to find a writable directory on a file system different from current one: + +# Try these: +tmp_dirs=' + $TMPDIR + /tmp + /var/tmp + /usr/tmp + $HOME +' + +# FIXME +DF=df +# FIXME +MKDIR=mkdir + +tmp=df-$$ + +dot_mount_point=`$DF --no-sync -P . | sed -n '2s/.*% *//p'` +for d in $tmp_dirs; do + d_mount_point=`$DF --no-sync -P $d | sed -n '2s/.*% *//p'` + + # Same partition? Skip it. + test x$d_mount_point = x$dot_mount_point && continue + + # See if we can create a directory in it. +done -- cgit v1.2.3-70-g09d2