Browse Source

util-vserver: fixed /dev/{shm,pts} mounting to produce correct etc/mtab entries

0.2-maint
Alejandro Mery 14 years ago
parent
commit
deedefdc91
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      pkgs/util-vserver/D%sysconfdir_vservers_.defaults_scripts_pre-start.sh

+ 3
- 3
pkgs/util-vserver/D%sysconfdir_vservers_.defaults_scripts_pre-start.sh

@ -3,7 +3,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: target/sheba/pkgs/util-vserver/D%sysconfdir_vservers_.defaults_scripts_pre-start.sh
# Copyright (C) 2008 The OpenSDE Project
# Copyright (C) 2008 - 2010 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
@ -38,9 +38,9 @@ if grep -q '[ ]/dev[ ]' "$__CONFDIR/$2/fstab"; then
# mount devpts after /dev was populated
#
$_SECURE_MOUNT -t devpts -o gid=5,mode=620,dev --chroot none dev/pts
$_SECURE_MOUNT -t devpts -o gid=5,mode=620,dev --chroot none /dev/pts
# 144 is what qemu wants... I know it's wrong to hardcode this here, but
# I don't have the time for a better implementation (fstab) yet
$_SECURE_MOUNT -t tmpfs -o size=144m --chroot none dev/shm
$_SECURE_MOUNT -t tmpfs -o size=144m --chroot none /dev/shm
fi

Loading…
Cancel
Save