# mkdir /mnt/cifs 

mount.cifs //192.168.1.1/file_dir /mnt/cifs -o username='myUsername',password='myPassword',codepage=cp950
(此指令為掛載)

or 

mount -t cifs //192.168.1.1/file_dir /mnt/cifs -o username='myUsername',password='myPassword',codepage=cp950
(此指令也是掛載) 

 

# umount /mnt/cifs
(此為取消掛載) 

arrow
arrow
    全站熱搜

    dreamtails 發表在 痞客邦 留言(0) 人氣()