Linux CIFS filesystem development
 help / color / mirror / Atom feed
* possible patch to mount.cifs.c
       [not found] <HJLAHR.KUPF9GW209YS.ref@att.net>
@ 2022-08-27 21:11 ` Steven J Abner
  0 siblings, 0 replies; only message in thread
From: Steven J Abner @ 2022-08-27 21:11 UTC (permalink / raw)
  To: linux-cifs

Hi,
  long story short: updated to ubuntu 20.04, postponed so long because 
of broken networking,
among other things. Finally got it to work with resolved names, which I 
used in conjunction
with mounting my old mac mini, lots of data/back-up data retained 
there. In using:
sudo mount.cifs '//stevens-mac-mini.local/steven' /mnt/steven -o 
user=steven,vers=1.0
I get 'mount error(111): could not connect to (ipv6 address)' with 
forgotten '\n'.
However, it does mount, regardless of error.
  Purposed patch is replacement at mount.cifs.c:2268 with:
  case EHOSTUNREACH:
   fprintf(stderr, "could not connect to %s\n", currentaddress);
   currentaddress = nextaddress;
   if ((nextaddress == NULL) || (*nextaddress == 0))
    break;
   nextaddress = strchr(currentaddress, ',');
   if (nextaddress)
    *nextaddress++ = '\0';
   goto mount_retry;

Sorry about not in normal patch format, but gun shy when it comes to 
developers that
are unknown to me and apologies for bothering you if this a waste of 
email.
I wish to be personally CC'ed the answers/comments posted to the list
in response to this posting, please :)
  Steve



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-08-27 21:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <HJLAHR.KUPF9GW209YS.ref@att.net>
2022-08-27 21:11 ` possible patch to mount.cifs.c Steven J Abner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox