[Initng-svn] r2365 - initng/initfiles/system
svn at initng.thinktux.net
svn at initng.thinktux.net
Thu Dec 8 12:17:25 CET 2005
Author: jimmy
Date: Thu Dec 8 12:17:24 2005
New Revision: 2365
Modified:
initng/initfiles/system/mountfs.ii
Log:
Mount fstab bind after.
Modified: initng/initfiles/system/mountfs.ii
==============================================================================
--- initng/initfiles/system/mountfs.ii (original)
+++ initng/initfiles/system/mountfs.ii Thu Dec 8 12:17:24 2005
@@ -40,7 +40,7 @@
# @mount@ local filesystems in /etc/fstab.
- @mount@ -aFt reiserfs,reiser4,ext2,ext3,xfs,jfs,vfat,ntfs,tmpfs,bind,subfs
+ @mount@ -aFt reiserfs,reiser4,ext2,ext3,xfs,jfs,vfat,ntfs,tmpfs,subfs
if [ ${?} -ne 0 ]; then
echo "mounting failed, trying mount local filesystems again ..."
if ! @mount@ -at reiserfs,reiser4,ext2,ext3,xfs,jfs,vfat,ntfs,tmpfs,bind,subfs; then
@@ -49,8 +49,11 @@
fi
fi
- # @mount@ all type bind.
- @mount@ -at bind
+ # @mount@ all type bind after the other mounts.
+ for i in `@cat@ /etc/fstab | @grep@ bind | @awk@ '{ print $1; }'`
+ do
+ @mount@ $i
+ done
# Always return happily, or sulogin will be executed.
exit 0
More information about the Initng-svn
mailing list