红联Linux门户
Linux帮助

编辑 /etc/fstab 文件

发布时间:2006-09-23 16:41:11来源:红联作者:严寒
[code]# /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.
#
# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.[/code]

[code]/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[/code]

  警告:

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

  警告:

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

共有 0 条评论