Advertisement
Guest User

Untitled

a guest
Jan 26th, 2016
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.78 KB | None | 0 0
  1. mklink f:/dir/symlink2file f:/dir/file
  2.  
  3. mount -t cifs -o file_mode=0600,user=login,pass=passwd //host/share /mountpoint
  4.  
  5. #mount
  6. //host/share on /mountpoint type cifs (rw,relatime,sec=ntlm,unc=\192.168.0.40share,username=login,uid=0,noforceuid,gid=0,noforcegid,addr=192.168.0.40,file_mode=0600,dir_mode=0755,nounix,serverino,rsize=65535,wsize=65536,actimeo=1,user=login)
  7.  
  8. #stat -L /mountpoint/symlink2file
  9.  
  10. File: `/mountpoint/symlink2file'
  11. Size: 0 Blocks: 0 IO Block: 16384 regular empty file
  12. Device: 12h/18d Inode: 3659174697239319 Links: 1
  13. Access: (0600/-rw-------) Uid: ( 0/ root) Gid: ( 0/ root)
  14. Access: 2016-01-26 14:34:44.491487300 +0600
  15. Modify: 2016-01-26 14:34:44.491487300 +0600
  16. Change: 2016-01-26 14:45:06.012178900 +0600
  17. Birth: -
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement