From 1f9c22ef253cb55830a662ae73e27eda01629a63 Mon Sep 17 00:00:00 2001 From: Erez_Zadok Date: Tue, 10 Jul 2007 00:03:58 -0400 Subject: [PATCH] cleanup defunct/old code Signed-off-by: Erez Zadok --- scaffold | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/scaffold b/scaffold index 7a24dbd..a0e1318 100644 --- a/scaffold +++ b/scaffold @@ -17,20 +17,6 @@ test -z "$DEBUG" && DEBUG=0 MOUNTS=0 -function roloopify { - local DIR=$1 - if [ ! -d "$DIR" ] ; then - echo "Can not find $DIR" 1>&2 - return 1 - fi - mkisofs -quiet -o /tmp/$$.iso -JR $DIR - mount -o loop,ro /tmp/$$.iso $DIR -# rm -f /tmp/$$.iso - echo "Inspect" - read N - return 0 -} - function havechattr { local FILE=tmp.chattr.check if [ ! -d $1 ] ; then @@ -52,8 +38,6 @@ function havechattr { } function create_hierarchy { -# XXX: what's this for?! -# touch $LOWER_DIR0/f havechattr $LOWER_DIR0 && chattr -R -i $LOWER_DIR0 havechattr $LOWER_DIR1 && chattr -R -i $LOWER_DIR1 -- 2.43.0