cleanup defunct/old code
authorErez_Zadok <ezk@cs.sunysb.edu>
Tue, 10 Jul 2007 04:03:58 +0000 (00:03 -0400)
committerErez_Zadok <ezk@cs.sunysb.edu>
Tue, 10 Jul 2007 04:03:58 +0000 (00:03 -0400)
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
scaffold

index 7a24dbdfcd4aa0cea9014f8b5a6de1944f893edf..a0e1318fd95a19670da721b8c8820faeab1c4660 100644 (file)
--- 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