分类: LINUX
2009-09-02 17:04:12
gentoo ~ # mount -t smbfs -o username=aaa,password=aaa //10.200.106.252/updatepack release
ERROR: smbfs filesystem not supported by the kernel
Please refer to the smbmnt(8) manual page
smbmnt failed: 255
< > SMB file system support (OBSOLETE, please use CIFS)
CIFS support (advanced network filesystem, SMBFS successor)
[*] CIFS statistics
[*] Extended statistics
[*] Support legacy servers which use weaker LANMAN security
[*] CIFS extended attributes
[*] CIFS POSIX Extensions
[*] Enable additional CIFS debugging routines
[ ] CIFS Experimental Features (EXPERIMENTAL)
gentoo ~ # mount -t cifs //10.200.106.252/updatepack /home/rory/release -o "username=aaa,password=aaa,uid=1000,isocharset=cp936"
rory@gentoo ~ $ more /etc/conf.d/local.start
# /etc/conf.d/local.start
# This is a good place to load any misc programs
# on startup (use &>/dev/null to hide output)
############## smbmount release from dual ################
mount -t cifs //10.200.106.252/updatepack /home/rory/release -o "username=aaa,password=aaa,uid=1000,isocharset=
cp936"
##########################################################
emerge mount-cifs mount -t cifs -o username="intra",iocharset=utf8 //192.168.1.1/share /mnt/192.168.1.1/share/ |