|
发表于 2003-3-17 10:57:23
|
显示全部楼层
关于自动mount SMB分区的问题,我昨天晚上刚刚学会:-)
参考如下修改/etc/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/hdb3 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,kudzu,ro 0 0
/dev/hda1 /mnt/hda1 vfat user,exec,umask=0,codepage=936,iocharset=gb2312 0 0
/dev/hda5 /mnt/hda5 vfat user,exec,umask=0,codepage=936,iocharset=gb2312 0 0
/dev/hda6 /mnt/hda6 vfat user,exec,umask=0,codepage=936,iocharset=gb2312 0 0
/dev/hda7 /mnt/hda7 vfat user,exec,umask=0,codepage=936,iocharset=gb2312 0 0
/dev/hda8 /mnt/hda8 vfat user,exec,umask=0,codepage=936,iocharset=gb2312 0 0
/dev/hda9 /mnt/hda9 vfat user,exec,umask=0,codepage=936,iocharset=gb2312 0 0
//small/linux /mnt/soft smbfs rw,workgroup=mshome,username=administrator,password=yourpassword 1 0 |
|