|
发表于 2005-6-17 18:55:54
|
显示全部楼层
*************************auto.master**********************************
# $Id: auto.master,v 1.2 1997/10/06 21:52:03 hpa Exp $
# Sample auto.master file
# Format of this file:
# mountpoint map options
# For details of the format look at autofs(.
/misc /etc/auto.misc --timeout=60
**************************auto.misc*********************************
# This is an automounter map and it has the following format
# key [ -mount-options-separated-by-comma ] location
# Details may be found in the autofs(5) manpage
cd -fstype=iso9660,ro,nosuid,nodev :/dev/cdrom
# the following entries are samples to pique your imagination
#linux -ro,soft,intr ftp.example.org:/pub/linux
#boot -fstype=ext2 :/dev/hda1
#floppy -fstype=auto :/dev/fd0
#floppy -fstype=ext2 :/dev/fd0
#e2floppy -fstype=ext2 :/dev/fd0
#jaz -fstype=ext2 :/dev/sdc1
#removable -fstype=ext2 :/dev/hdd
cdrom -fstype=auto :/dev/cdrom
cdrom1 -fstype=auto :/dev/cdrom1
floppy -fstype=auto :/dev/fd0
c -fstype=auto iocharset=cp936 :/dev/hda1
d -fstype=auto iocharset=cp936 :/dev/hda5
e -fstype=auto iocharset=cp936 :/dev/hda6
g -fstype=auto iocharset=cp936 :/dev/hda7
******************fstab************************************
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda9 swap swap defaults 0 0
********** 请帮我看看那里改的不对我机器上有两个光驱。另外我想问一下我要是不在auto.misc下加光驱和软驱的设置是不是就不用改fstab文件了? |
|