On Wed, Mar 27, 2002 at 07:56:14AM +0100, Wolfgang Schweer wrote:
> hi Hans,
>
> these are the steps that work for me:
>
> -------------------------------------------
> Put a line like this into the file /etc/fstab of your ltsp tree
>
> shmfs /tmp shm defaults 0 0
> -----------------------------------------
>
> Modify /etc/rc.local for use with a custom kernel:
> (custom kernel with devfs and shmfs compiled in,
> devfs with 'mount on boot' enabled, either compiled in or
> via kernel command line param 'devfs=mount'):
>
> 1) replace
>
> PATH=/bin:$PATH; export PATH
>
> with
>
> PATH=/bin:/usr/bin:/usr/sbin:/sbin; export PATH
>
> 2) replace
>
> echo "Creating ramdisk on /tmp"
> RAMDISK_SIZE=`get_cfg RAMDISK_SIZE 1024`
> /sbin/mke2fs -q -m0 /dev/ram1 ${RAMDISK_SIZE}
> /bin/mount -n /dev/ram1 /tmp
>
> with
>
> echo "Mounting shmfs on /tmp"
> mount -a
> --------------------------------------------
>
> hope it works for you,Thanks Wolfgang! I will try that tonight and report back. -- Hans Ekbrand
msg04046/pgp00000.pgp
Description: PGP signature
