|
发表于 2003-9-9 13:31:45
|
显示全部楼层
这是我写的,不成功,请教!
******************* 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 *****************************
# $Id: auto.misc,v 1.2 1997/10/06 21:52:04 hpa Exp $
# 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
flopy -fstype=auto :/dev/fd0
E -fstype=auto iocharset=cp936 :/dev/hda6
F -fstype=auto iocharset=cp936 :/dev/hda7
G -fstype=auto iocharset=cp936 :/dev/hda8
H -fstype=auto iocharset=cp936 :/dev/hda9
ibmc -fstype=auto iocharset=cp936 :/dev/hdc1
ibmd -fstype=auto iocharset=cp936 :/dev/hdc5
***************** 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/hda11 swap swap defaults 0 0 |
|