File: fstab.5

package info (click to toggle)
manpages-es 1.24a-6
  • links: PTS
  • area: main
  • in suites: potato
  • size: 4,256 kB
  • ctags: 7
  • sloc: makefile: 66; sh: 62
file content (180 lines) | stat: -rw-r--r-- 6,606 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
.\" Copyright (c) 1980, 1989, 1991 The Regents of the University of California.
.\" All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
.\" 1. Redistributions of source code must retain the above copyright
.\"    notice, this list of conditions and the following disclaimer.
.\" 2. Redistributions in binary form must reproduce the above copyright
.\"    notice, this list of conditions and the following disclaimer in the
.\"    documentation and/or other materials provided with the distribution.
.\" 3. All advertising materials mentioning features or use of this software
.\"    must display the following acknowledgement:
.\"	This product includes software developed by the University of
.\"	California, Berkeley and its contributors.
.\" 4. Neither the name of the University nor the names of its contributors
.\"    may be used to endorse or promote products derived from this software
.\"    without specific prior written permission.
.\"
.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\"     @(#)fstab.5	6.5 (Berkeley) 5/10/91
.\"
.\" Modified Sat Mar  6 20:45:03 1993, faith@cs.unc.edu, for Linux
.\" Sat Oct  9 10:07:10 1993: converted to man format by faith@cs.unc.edu
.\" Sat Nov 20 20:47:38 1993: hpfs documentation added
.\" Sat Nov 27 20:23:32 1993: Updated authorship information
.\" Wed Jul 26 00:00:00 1995: Updated some nfs stuff, joey@infodrom.north.de
.\" Tue Apr  2 00:38:28 1996: added info about "noauto", "user", etc.
.\"
.\" Translated Fri Jul  5 13:00:03 1996 by Diego Novillo (diego@cs.ualberta.ca)
.\"
.TH FSTAB 5 "27 Noviembre 1993" "Linux 0.99" "Manual del Programador Linux"
.SH NOMBRE
fstab \- Informacin esttica sobre los sistemas de ficheros
.SH SINOPSIS
.B #include <fstab.h>
.SH DESCRIPCIN
El fichero
.B fstab
contiene informacin que describe los diversos sistemas de ficheros.
Los programas slo pueden leer
.B fstab ;
el administrador del sistema es responsable de la creacin y
mantenimiento de este fichero. Cada lnea describe un sistema de ficheros;
los campos en cada lnea estn separados por tabs o espacios. El orden de
los registros en 
.B fstab
es importante porque 
.BR fsck "(8), " mount "(8), y " umount "(8)
recorren 
.B fstab
secuencialmente a medida que trabajan.

El primer campo,
.RI ( fs_spec ),
describe el dispositivo especial de bloque o sistema de ficheros remoto a
ser montado.

El segundo campo,
.RI ( fs_file ),
describe el punto de montaje para el sistema de ficheros. Para particiones
de intercambio (swap), este campo debe decir ``none''.

El tercer campo,
.RI ( fs_vfstype ),
describe el tipo del sistema de ficheros. Actualmente, el sistema soporta
nueve tipos de sistemas:
.TP
.I minix
Un sistema de ficheros local que soporta nombres de ficheros de 14 o 30
caracteres de longitud.
.TP
.I ext
Un sistema de ficheros local con nombres de ficheros mas largos y nodos-i
mas grandes.  Este sistema de ficheros fu reemplazado por el sistema
.I ext2,
y ya no debera ser utilizado.
.TP
.I ext2
Un sistema de ficheros local con nombres de fichero mas largos, nodos-i mas
grandes, y muchas otras caractersticas.
.TP
.I xiafs
Un sistema de ficheros local con nombres de fichero mas largos, nodos-i mas
grandes, y muchas otras caractersticas.
.TP
.I msdos
Un sistema de ficheros local para particiones MS-DOS.
.TP
.I hpfs
Un sistema de ficheros local para particiones HPFS.
.TP
.I iso9660
Un sistema de ficheros local para usado para discos CD-ROM.
.TP
.I nfs
Sistema de ficheros usado para montar particiones de sistemas remotos.
.TP
.I swap 
Una particin del disco usada por el sistema de paginacin.
.PP
Si
.I vfs_fstype
tiene el valor ``ignore'', la entrada es ignorada. Esto es til para
ver aquellas particiones del disco que no estn siendo usadas.

El cuarto campo,
.RI ( fs_mntops ),
describe las opciones de montaje asociadas con el sistema de ficheros.

Es una lista de opciones separadas por comas. Contiene como mnimo el tipo
de montaje y otras opciones apropiadas para el tipo del sistema de
ficheros.  Las distintas opciones para sistemas de ficheros locales estn
documentadas en 
.BR mount (8).
Las opciones especficas para nfs estn documentadas en
.BR nfs (5).
Las siguientes opciones son comunes para cualquier tipo de sistema de
ficheros: ``noauto'' (no monta el sistema cuando se ejecuta "mount -a",
p.ej., cuando arranca el sistema), y ``user'' (permite que un usuario
monte el sistema de ficheros). Para mayor informacin, vase
.BR mount (8).

El quinto campo,
.RI ( fs_freq ),
lo utiliza el comando 
.BR dump (8)
para determinar que sistemas de ficheros necesitan ser volcados (dumped).
Si el quinto campo est vaco, 
.B dump
asume que el sistema de ficheros no necesita ser volcado.

El sexto campo,
.RI ( fs_passno ),
lo usa el programa
.BR fsck (8)
para determinar el orden en el cual se van a chequear los sistemas de
ficheros cuando el sistema arranca. El sistema de ficheros raz debera
llevar 
.I fs_passno
igual a 1, y otros sistemas de ficheros deberan llevar 
.I fs_passno
igual a 2.  Sistemas de ficheros en un mismo disco sern chequeados
secuencialmente, pero sistemas de ficheros en diferentes discos sern
chequeados al mismo tiempo para utilizar el paralelismo disponible en el
equipo. Si el sexto campo no est presente o tiene un valor de 0, 
.B fsck
asumir que los sistemas de ficheros no necesitan ser chequeados.

La forma apropiada de leer los registros de
.B fstab
es usando las rutinas
.BR getmntent (3).
.SH FICHEROS
.I /etc/fstab
El fichero
.B fstab
est en el directorio
.IR /etc .
.SH ERRORES
La documentacin en
.BR mount (8)
est generalmente ms actualizada.
.SH "VASE TAMBIN"
.BR getmntent "(3), " mount "(8), " swapon "(8), " nfs (5)
.SH HISTORIA
El formato del fichero
.B fstab
apareci en 4.0BSD.