2007-1-18 23:14
linux286
编辑 /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.
[color=#01ff]/dev/BOOT /boot ext2 noauto,noatime 1 2[/color]
[color=#01ff]/dev/ROOT / ext3 noatime 0 1[/color]
[color=#01ff]/dev/SWAP none swap sw 0 0[/color]
[color=#01ff]/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro 0 0[/color]
[color=#01ff]proc /proc proc defaults 0 0[/color]
[b]警告:[/b]
注意 /boot 默认状态启动时是 不会 被挂载的。
目的是保护 /boot 上的数据。如果你需要,请手动挂载!
[b]警告:[/b]
参考下面的 /etc/fstab 文件范例。当然[color=#ff12]要把 "BOOT", "ROOT" 和 "SWAP" 替换为你的[/color]
分区的设备标识(如 hda1, 等) ,还要替换 "ext2" and "ext3" 为你的文件系统类型。