[linux-cifs-client] cifs sfu symlinks

Martin Koeppe mkoeppe at gmx.de
Sun Jan 29 22:12:25 GMT 2006


Hello Steve,

for supporting sfu symlinks, I tested the following on sfu shell:

perl -e 'symlink "\001\002\n\\+<>\"|*?", sl5'

which results in the following symlink special file (hex dump):

00000000 49 6E 74 78 . 4C 4E 4B 01 . 01 00 02 00 . 0A 00 5C 00 IntxLNK.......\.
00000010 2B 00 3C 00 . 3E 00 22 00 . 7C 00 2A 00 . 3F 00       +.<.>.".|.*.?.


So in the special file, the unix name of the link target is stored, 
not the NTFS remapped name. I didn't yet understand the handling of 
non-ASCII (>0x7f chars) link targets, e.g. with german umlauts. These 
seem to be weird.

For linux-cifs I suggest to begin with symlink support for link 
targets being completely plain ASCII (0x01-0x7f). Are there other 
difficulties on implementing symlink support?


Martin


More information about the linux-cifs-client mailing list