[Fai-commit] r3388 - trunk/lib

fai-repository at svn.debian.org fai-repository at svn.debian.org
Sat Apr 8 20:46:05 UTC 2006


Author: lange
Date: 2006-04-08 20:46:04 +0000 (Sat, 08 Apr 2006)
New Revision: 3388

Modified:
   trunk/lib/mount2dir
Log:
add more fs types that should be skipped


Modified: trunk/lib/mount2dir
===================================================================
--- trunk/lib/mount2dir	2006-04-08 20:16:25 UTC (rev 3387)
+++ trunk/lib/mount2dir	2006-04-08 20:46:04 UTC (rev 3388)
@@ -6,7 +6,7 @@
 # mount2dir -- mount partitions to a directory using a fstab file
 #
 # This script is part of FAI (Fully Automatic Installation)
-# (c) 2001-2003 by Thomas Lange, lange at informatik.uni-koeln.de
+# (c) 2001-2006 by Thomas Lange, lange at informatik.uni-koeln.de
 # Universitaet zu Koeln
 #
 #*********************************************************************
@@ -63,6 +63,12 @@
     esac
 
     [ "$mountpoint" == "none" ]  && continue
+    [ "$fstype" == "swap" ]  && continue
+    [ "$fstype" == "proc" ]  && continue
+    [ "$fstype" == "usbfs" ]  && continue
+    [ "$fstype" == "sysfs" ]  && continue
+    [ "$fstype" == "tmpfs" ]  && continue
+    [ "$fstype" == "devpts" ]  && continue
 
     case $device in
 	""|\#*) continue ;;




More information about the Fai-commit mailing list