Re: Is that possible follow symbol link location which point with full location

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



If you want to create a symbolic link with a target of UNC name
("\\server\share\path") instead of "path" you should configure it as a
DFS link (if it is Samba server you can see instructions at
https://wiki.samba.org/index.php/Distributed_File_System_(DFS) and if
the server is Windows there are lots of walkthroughs explaining DFS
setup (https://mizitechinfo.wordpress.com/2013/08/21/step-by-step-deploy-dfs-in-windows-server-2012-r2/)

cifs.ko in Linux (whether mounted with cifs or smb3) will expect a
pathname in a normal symlink.    Also note that since symbolic links
are typically not supported by Windows servers (with some exceptions
for admin created symlinks), the mount option "mfsymlinks" on the
client may be needed - to ensure that symlinks are being emulated.

On Mon, Aug 29, 2016 at 9:42 AM, Cong Monkey <congzhangzh@xxxxxxxxx> wrote:
> HI All,
>     I try to mount.cifs a windows server share on debian, it works well.
>     But, I have trobule with symbol directory which create with mklink /D
> abc  \\thesameserver\ddd\eee, and it works if the link create with mklink
> /D abc  ddd\eee.
>     My question is, is mount.cifs possible to work full path symbol link?
>     Thanks,
> Cong
> --
> To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html



-- 
Thanks,

Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux