[linux-cifs-client] Can't create symlink on a windows share

brice.rouanet at iut-tlse3.fr brice.rouanet at iut-tlse3.fr
Tue Jan 13 18:38:27 GMT 2009


Hi,

is it simple to modify CIFS kernel module to create Hard Link instead  
of Symlinkj ?

for example replace symlink_create function by hardlink_create ?

If yes, where can I have to see ?

Regards,
Brice

> On Mon, 12 Jan 2009 22:36:02 +0100
> brice.rouanet at iut-tlse3.fr wrote:
>
>> Yes, but with SFU and NFS we can create symlink I think, why samba
>> can't do the same thing ?
>>
>
> The CIFS protocol has unix extensions, but they were not ever adopted
> by Microsoft. Other clients and servers (notably Samba and Linux CIFS
> VFS) implement these extensions, but Microsoft's products do not.
>
> If you use CIFS to mount a share from a samba server the client and
> server will generally negotiate unix extensions and you'll be able to
> create symlinks. When you mount a windows server, that negotiation
> fails and you only get the ability to do "core" CIFS calls.
>
> It would be nice if Microsoft would implement unix extensions, but so
> far that hasn't happened.
>
> --
> Jeff Layton <jlayton at redhat.com>
>
>



****************************************
               Brice Rouanet
          Technicien informatique
         Département Genie Chimique
     Centre de Ressources Informatiques
****************************************
           Tel : 05.62.25.89.19
****************************************
        CRI - IUT "A" PAUL SABATIER
          137, avenue de Rangueil
                  BP67701
          31077 TOULOUSE CEDEX 04
****************************************

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



More information about the linux-cifs-client mailing list