On Thu, 11 Jun 2009 16:13:05 +0100 (BST)
"David Holder" <
david@...> wrote:
> Jeff,
>
> Great to see this going into the code. Do you plan to allow for textual
> interface names after the %?
>
> You can use getnameinfo() with the NI_NUMERICHOST flag to convert the
> textual interface name and IPv6 address to numeric format or just use
> if_nametoindex().
>
> Regards, David
>
Yep. Users will be able to use text interface names assuming they have
mount.cifs installed. getaddrinfo will convert textual interface names
to numeric ones already, so we don't really need to do much special for
this. This support will depend on a mount.cifs patch too (sorry, should
have made that clear when I posted the kernel patchset). The mount.cifs
patch is similar, but slightly different from the one posted yesterday.
FWIW, when I was testing today, my mount string was:
mount -t cifs -o sec=none //fe80::21d:7dff:fe9c:3c86%eth0/scratch /mnt/cifs
...and it worked just fine.
I'll send the mount.cifs patch along in a little while...
--
Jeff Layton <
jlayton@...>
_______________________________________________
linux-cifs-client mailing list
linux-cifs-client@...
https://lists.samba.org/mailman/listinfo/linux-cifs-client