.\" 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. .\" Tue Jun 15 20:02:18 1999: added LABEL and UUID .\" Sat Jul 14 2001: Michael K. Johnson added -O .\" .\" Japanese Version Copyright (c) 1997-1999 ISHIOKA Takashi and NAKANO Takeo .\" all rights reserved. .\" Translated Mon Sep 8 14:02:18 1997 .\" by ISHIOKA Takashi .\" Thu Feb 5 10:31:23 1998: follow man-pages 1.18 .\" Mon Feb 9 15:16:13 1998: correction .\" Updated Sat 23 Oct by NAKANO Takeo .\" Updated Mon Apr 9 20:43:51 JST 2001 .\" by Yuichi SATO .\" Updated Sat Aug 18 10:01:58 JST 2001 by Yuichi SATO .\" Updated & Modified Sun Mar 2 16:58:13 JST 2003 .\" by Yuichi SATO .\" Updated & Modified Fri May 6 04:29:45 JST 2005 by Yuichi SATO .\" .TH FSTAB 5 "15 June 1999" "Linux 2.2" "Linux Programmer's Manual" .SH 名前 fstab \- ファイルシステムの静的な情報 .SH 書式 .B #include .SH 説明 このファイル .B fstab には様々なファイルシステムに関する情報が記述されている。 .B fstab ファイルはプログラムによって読みこまれるだけで書き込まれることはない。 このファイルを適切に作り、保守するのはシステム管理者の責任である。 それぞれのファイルシステムは一行単位で記述され、 各行のフィールドは TAB 文字もしくは空白 (spaces) で区切られる。 \&'#' で始まる行はコメントである。 .BR fsck (8), .BR mount (8), .BR umount (8) などのプログラムは、 .B fstab ファイルを先頭から順に読み込んで処理するため、 .B fstab に記述されるレコード (ファイルシステム) の順序は重要である。 最初のフィールド .RI ( fs_spec ) は、マウントしたいブロックスペシャルデバイス もしくはリモートファイルシステムを記述する。 .LP 通常のマウントでは、これはマウントされるブロックスペシャルデバイスノード (またはそれへのリンク) である。これは .BR mknod (8) によって作成される。たとえば `/dev/cdrom' や `/dev/sdb7' といったものになる。 NFS マウントの場合は : という書式になる。 たとえば `knuth.aeb.nl:/' などである。 procfs の場合は `proc' を使う。 .LP デバイスを明示する代わりに、 マウントされる (ext2 または xfs) ファイルシステムを UUID とボリュームラベルで指定することもできる .RB ( e2label (8) または .BR xfs_admin (8) を参照のこと)。 この場合は LABEL=