FSTAB.5
资源名称:os_source.zip [点击查看]
上传用户:datang2001
上传日期:2007-02-01
资源大小:53269k
文件大小:1k
源码类别:
操作系统开发
开发平台:
C/C++
- .TH FSTAB 5
- .SH NAME
- fstab, mtab - list of file systems to mount, mounted file system table.
- .SH SYNOPSIS
- .B /etc/fstab
- .sp
- .B /etc/mtab
- .SH DESCRIPTION
- .B /etc/fstab
- is a table of file system to mount at boot time,
- .B /etc/mtab
- is a table of currently mounted file systems as maintained by
- .B mount
- and
- .BR umount .
- .PP
- .B /etc/fstab
- is not read by
- .B mount
- as it should be. It is instead a simple shell script listing the three
- devices that Minix needs to operate: The device names of the root file
- system, the temporary (scratch) file system, and the file system for
- .BR /usr .
- Of these only the /usr file system is mounted in
- .BR /etc/rc ,
- the scratch file system is there for the system administrator to test new
- kernels, or as a temporary file system.
- .PP
- .B /etc/mtab
- contains lines of four fields. The layout is:
- .sp
- .RS
- .nf
- .ft B
- .ta +10n +13n +8n
- device directory type options
- .ft P
- .fi
- .RE
- .PP
- These fields may be explained as follows:
- .sp
- .B device
- .br
- .RS
- A block special device.
- .RE
- .sp
- .B directory
- .br
- .RS
- Mount point.
- .RE
- .sp
- .B type
- .br
- .RS
- Either
- .BR 1 ,
- or
- .BR 2 ,
- indicating a V1 or V2 file system.
- .RE
- .sp
- .B options
- .br
- .RS
- Either
- .BR ro ,
- or
- .BR rw ,
- indicating a read-only or read-write mounted file system.
- .RE
- .SH FILES
- .TP 15n
- .B /etc/fstab
- Shell script naming three important file systems.
- .TP
- .B /etc/mtab
- List of mounted file systems.
- .SH "SEE ALSO"
- .BR printroot (8),
- .BR mount (1),
- .BR fsck (1),
- .BR mkfs (1).
- .SH BUGS
- .B /etc/fstab
- is a joke.
- .SH AUTHOR
- Kees J. Bot (kjb@cs.vu.nl)