diff options
author | Sebastian Schmelzer | 2011-05-25 21:17:35 +0200 |
---|---|---|
committer | Sebastian Schmelzer | 2011-05-25 21:17:35 +0200 |
commit | 1f297195d26eb11b95fe0f54ab6b9f74165575e7 (patch) | |
tree | 89621e1ee0453ed0735fc8731c556b86bfac2fe9 /src/initramfs | |
parent | Merge branch 'master' of openslx.org:openslx/core (diff) | |
parent | Adding fuse/unionfs code to stage3 init ... (diff) | |
download | core-1f297195d26eb11b95fe0f54ab6b9f74165575e7.tar.gz core-1f297195d26eb11b95fe0f54ab6b9f74165575e7.tar.xz core-1f297195d26eb11b95fe0f54ab6b9f74165575e7.zip |
Merge branch 'master' of openslx.org:openslx/core
Diffstat (limited to 'src/initramfs')
-rwxr-xr-x | src/initramfs/scripts/init | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/initramfs/scripts/init b/src/initramfs/scripts/init index a2db7a88..40641a36 100755 --- a/src/initramfs/scripts/init +++ b/src/initramfs/scripts/init @@ -780,6 +780,10 @@ if [ "x${union_type}" != "x" ] ; then none /mnt elif [ "$union_type" == "AUFS" ]; then mount -n -t aufs -o br:/${rwdir}/uniontmp:/rorootfs=ro none /mnt + elif [ "$union_type" == "Fuse" ]; then + unionfs -o cow,max_files=32768,allow_other,use_ino,suid,dev \ + -o nonempty,chroot=/mnt \ + ${rwdir}/uniontmp=RW:/rorootfs=${nfsro}=RO /mnt fi mkdir -p /mnt/uniontmp mount -n --move ${rwdir}/uniontmp /mnt/uniontmp |