summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorBernd Schubert <bernd.schubert@fastmail.fm>2009-05-25 22:21:59 +0200
committerBernd Schubert <bernd.schubert@fastmail.fm>2009-05-25 22:21:59 +0200
commit9176bcc6926345a33426afa8d7e5a06794cec7f6 (patch)
tree874450d8a897e9c089d11a04e4ef15eb34c8ad78 /examples
parent6dde740cb7aa6af1b1a129e1c48038e33f0ebfb1 (diff)
downloadunionfs-fuse-git-9176bcc6926345a33426afa8d7e5a06794cec7f6.tar.gz
Add a new parameter so that the maximum number of open files can be set.
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/S01a-unionfs-fuse-live-cd.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/S01a-unionfs-fuse-live-cd.sh b/examples/S01a-unionfs-fuse-live-cd.sh
index 7ba50e5..60bc0d5 100755
--- a/examples/S01a-unionfs-fuse-live-cd.sh
+++ b/examples/S01a-unionfs-fuse-live-cd.sh
@@ -5,7 +5,7 @@
FUSE_OPT="-o default_permissions,allow_other,use_ino,suid"
CHROOT_PATH="/tmp/unionfs"
-UNION_OPT="-ocow,chroot=$CHROOT_PATH"
+UNION_OPT="-ocow,chroot=$CHROOT_PATH,max_files=32768"
UBIN=/usr/bin/unionfs-fuse
@@ -16,8 +16,6 @@ mkdir -p $CHROOT_PATH/root
mkdir -p $CHROOT_PATH/rw
mkdir -p /tmp/union
-ulimit -n 32768
-
mount --bind / $CHROOT_PATH/root
$UBIN $FUSE_OPT $UNION_OPT /rw=RW:/root=RO /tmp/union