home *** CD-ROM | disk | FTP | other *** search
/ Clickx 115 / Clickx 115.iso / software / tools / windows / tails-i386-0.16.iso / live / filesystem.squashfs / usr / share / doc / initscripts / README.Debian < prev   
Encoding:
Text File  |  2012-03-27  |  2.1 KB  |  55 lines

  1. tmpfs
  2. -----
  3.  
  4. Tmpfs can be used as virtual memory filesystem. glibc 2.2 and above
  5. expects a tmpfs to be mounted at /dev/shm for POSIX shared memory,
  6. this is done automatically by /etc/init.d/mountdevsubfs.sh early in
  7. the boot process. You can limit tmpfs max size by setting the
  8. SHM_SIZE variable to a desired size in the /etc/default/tmpfs file
  9. to prevent tmpfs from using up all system memory.
  10.  
  11. A tmpfs can also be mounted over /var/run/ and /var/lock/. This can
  12. be achieved by setting the RAMRUN and RAMLOCK variables to "yes" in
  13. the /etc/default/rcS file. A size limit for the tmpfs filesystem
  14. mounted over /var/run/ and /var/lock/ can be set via the RUN_SIZE
  15. and LOCK_SIZE variables in the /etc/default/tmpfs file.
  16.  
  17. If TMPFS_SIZE is set in /etc/default/tmpfs, it will be used as the
  18. default value for SHM_SIZE, RUN_SIZE and LOCK_SIZE. Otherwise, kernel
  19. defaults are used.
  20.  
  21.  
  22. sendsigs process omission interface
  23. -----------------------------------
  24.  
  25. Since initscripts package version 2.86.ds1-48, /etc/init.d/sendsigs
  26. is able to omit processes from being killed by killall5(8). Process
  27. id's listed in /var/run/sendsigs.omit, /lib/init/rw/sendsigs.omit or
  28. any file in the /lib/init/rw/sendsigs.omit.d/ directory will be
  29. omitted by sendsigs.
  30.  
  31. The recommended practise for adding a process id for omission is to
  32. create a file in /lib/init/rw/sendsigs.omit.d/<package name>
  33. containing the process id that is to be omitted by sendsigs.
  34.  
  35. This feature is only to be used for processes that need to be
  36. running when remote file systems are umounted, and that have
  37. current working directory set to a directory in the root file system.
  38.  
  39.  
  40. /sys in /etc/fstab
  41. ------------------
  42.  
  43. If the mount point /sys/ has an entry in /etc/fstab (which is not
  44. required, it will be mounted in any case), the entry must be:
  45.  
  46.   sysfs /sys sysfs rw,nosuid,nodev,noexec 0 0
  47.  
  48. The reason is that the entry in fstab needs to match the entry
  49. generated by the mountkernfs.sh and mtab.sh scripts.  If it does not,
  50. the system will complain with this message during boot:
  51.  
  52.   Will now mount local filesystems:mount: /sys already mounted or /sys busy
  53.   mount: according to mtab, sysfs is already mounted on /sys
  54.     failed
  55.