Re: [Patch] Re: SHM stuff - Reason for Oopsen discovered

From: willy@thepuffingroup.com
Date: Thu Jun 01 2000 - 10:34:22 EST


No offence intended Christoph; English is clearly not your first language:

On Wed, May 31, 2000 at 10:53:42PM +0200, Christoph Rohland wrote:
> + To use System V shared memory is now implemented via a filesystem.
> +You do not have to be mount it as long as you can live with the
> +defaults for the total maximum of shared memory and segments. If you
> +want to change these parameters you have to mount it with the options
> +nr_blocks and/or nr_inodes. Also mount it to /dev/shm if you want to
> +use posix shm. I recommend to add the following line to /etc/fstab:
> +
> +none /dev/shm shm defaults 0 0
> +
> +Remember to create the mountpoint directory; it does not have to be /dev/shm.
> +

System V shared memory is now implemented via a filesystem. You do not
have to mount it to use it as long as you can live with the default maxima
for shared memory and segments. If you wish to change these variables,
you have to mount it with the options nr_blocks and/or nr_inodes.
If you want to use POSIX shm, then it needs to be mounted somewhere.
The recommended place is /dev/shm and this can be done by adding the
following line to /etc/fstab:

shm /dev/shm shm defaults 0 0

Remember to create the directory that you intend to mount shm on.

-- 
The Sex Pistols were revolutionaries.  The Bay City Rollers weren't.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Jun 07 2000 - 21:00:12 EST