编辑 /etc/fstab 文件

字体: | 打印

# /etc/fstab: static file system information.
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed; notail increases performance of ReiserFS (at the expense of storage
# efficiency).  It is safe to drop the noatime options if you want and to
# switch between notail and tail freely.

# <fs>           <mount point>   <type>   <opts>          <dump/pass>

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.

/dev/BOOT           /boot       ext2         noauto,noatime         1 2
/dev/ROOT           /           ext3         noatime         0 1
/dev/SWAP           none        swap         sw              0 0
/dev/cdroms/cdrom0  /mnt/cdrom  iso9660         noauto,ro       0 0
proc                /proc       proc         defaults        0 0

警告:
注意 /boot 默认状态启动时是 不会 被挂载的。
目的是保护 /boot 上的数据。如果你需要,请手动挂载!

警告:
参考下面的 /etc/fstab 文件范例。当然要把 "BOOT", "ROOT" 和 "SWAP" 替换为你的
分区的设备标识(如 hda1, 等) ,还要替换 "ext2" and "ext3" 为你的文件系统类型。