Linux CIFS filesystem development
 help / color / mirror / Atom feed
From: Steven J Abner <pheonix.sja@att.net>
To: linux-cifs@vger.kernel.org
Subject: possible patch to mount.cifs.c
Date: Sat, 27 Aug 2022 17:11:41 -0400	[thread overview]
Message-ID: <HJLAHR.KUPF9GW209YS@att.net> (raw)
In-Reply-To: HJLAHR.KUPF9GW209YS.ref@att.net

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



           reply	other threads:[~2022-08-27 21:11 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <HJLAHR.KUPF9GW209YS.ref@att.net>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=HJLAHR.KUPF9GW209YS@att.net \
    --to=pheonix.sja@att.net \
    --cc=linux-cifs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox