SVN: rc-scripts/trunk/rc.d/rc.sysinit

shadzik shadzik at pld-linux.org
Fri Sep 3 11:07:18 CEST 2010


Author: shadzik
Date: Fri Sep  3 11:07:17 2010
New Revision: 11801

Modified:
   rc-scripts/trunk/rc.d/rc.sysinit
Log:
- don't check the fs on aufs and squashfs systems


Modified: rc-scripts/trunk/rc.d/rc.sysinit
==============================================================================
--- rc-scripts/trunk/rc.d/rc.sysinit	(original)
+++ rc-scripts/trunk/rc.d/rc.sysinit	Fri Sep  3 11:07:17 2010
@@ -419,7 +419,7 @@
 	_ROOTFS_DEVICE=$(awk '($1 !~ /^#/ && $2 == "/" && NF >= 6) { print $1}' /etc/fstab)
 	_ROOTFS_TYPE=$(awk '$2 == "/" && $3 != "rootfs" { print $3 }' /proc/mounts 2>/dev/null)
 
-	if [ -z "$fastboot" -a "$_ROOTFS_TYPE" != "nfs" -a "$_ROOTFS_TYPE" != "romfs" -a "$_ROOTFS_PASSNO" != 0 -a -e $_ROOTFS_DEVICE ]; then
+	if [ -z "$fastboot" -a "$_ROOTFS_TYPE" != "aufs" -a "$_ROOTFS_TYPE" != "nfs" -a "$_ROOTFS_TYPE" != "romfs" -a "$_ROOTFS_TYPE" != "squashfs" -a "$_ROOTFS_PASSNO" != 0 -a -e $_ROOTFS_DEVICE ]; then
 		check_root_fs
 	fi
 


More information about the pld-cvs-commit mailing list