[Fai-commit] r3156 - trunk/bin

fai-repository at svn.debian.org fai-repository at svn.debian.org
Wed Dec 7 17:57:28 UTC 2005


Author: lange
Date: 2005-12-07 17:57:27 +0000 (Wed, 07 Dec 2005)
New Revision: 3156

Modified:
   trunk/bin/make-fai-nfsroot
Log:
in etch the find command needs -xdev option before ! -type d


Modified: trunk/bin/make-fai-nfsroot
===================================================================
--- trunk/bin/make-fai-nfsroot	2005-12-06 21:08:26 UTC (rev 3155)
+++ trunk/bin/make-fai-nfsroot	2005-12-07 17:57:27 UTC (rev 3156)
@@ -468,7 +468,7 @@
     umount $NFSROOT/dev/pts 1>/dev/null 2>&1 || true
     rm -rf $NFSROOT/.??* $NFSROOT/*
     # also remove files $NFSROOT/.? but not . and ..
-    find $NFSROOT ! -type d -xdev -maxdepth 1 | xargs -r rm -f
+    find $NFSROOT -xdev ! -type d -maxdepth 1 | xargs -r rm -f
 fi
 
 # Create a new nfsroot




More information about the Fai-commit mailing list