Red Hat LINUX 7.2 - OFFICIAL LINUX CUSTOMIZATION GUIDE Guida di Installazione Pagina 46

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 282
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 45
46 Chapter 2. The /proc File System
Can close tray: 1
Can open tray: 1
Can lock tray: 1
Can change speed: 1
Can select disk: 0
Can read multisession: 1
Can read MCN: 1
Reports media changed: 1
Can play audio: 1
Can write CD-R: 0
Can write CD-RW: 0
Can read DVD: 0
Can write DVD-R: 0
Can write DVD-RAM: 0
This file can be quickly scanned to discover the qualities of an unknown CD-ROM, at least in the eyes
of the kernel. If multiple CD-ROMs are available on a system, each device is given its own column of
information.
Various files in /proc/sys/dev/cdrom, such as autoclose and checkmedia, can be used to con-
trol the system’s CD-ROM. Use the echo command to enable or disable to disable these features.
If RAID support is compiled into the kernel, a /proc/sys/dev/raid/ directory will be available
with at least two files in it: speed_limit_min and speed_limit_max. These settings determine
how much to accelerate the RAID device for particularly I/O intensive tasks, such as resyncing the
disks.
2.3.8.2. /proc/sys/fs/
This directory contains an array of options and information concerning various aspects of the file
system, including quota, file handle, inode, and dentry information.
The binfmt_misc directory is used to provide kernel support for miscellaneous binary formats.
The important files in /proc/sys/fs include:
dentry-state Provides the status of the directory cache. The file looks similar to this:
57411 52939 45 0 0 0
The first number reveals the total number of directory cache entries, while the second number
displays the number of unused entries. The third number tells the number of seconds between when
a directory has been freed and when it can be reclaimed, and the fourth measures the pages currently
requested by the system. The last two numbers are not used and currently display only zeros.
dquot-nr — Shows the maximum number of cached disk quota entries.
file-max Allows you to change the maximum number of file handles that the kernel will
allocate. Raising the value in this file can resolve errors caused by a lack of available file handles.
file-nr Displays the number of allocated file handles, used file handles, and the maximum
number of file handles.
overflowgid and overflowuid — Defines the fixed group ID and user ID, respectively, for use
with file systems that only support 16-bit group and user IDs.
super-max — Controls the maximum number of superblocks available.
super-nr — Displays the current number of superblocks in use.
Vedere la pagina 45
1 2 ... 41 42 43 44 45 46 47 48 49 50 51 ... 281 282

Commenti su questo manuale

Nessun commento