git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[BUG] Using git-completion with automounted home directories causes bogus NFS mount requests

From
CCCesar Crusius <cesar@cariden.com>
Date
Jun 17, 2010, 19:32 UTC
Message-ID
<B0356A858DE69744B8977A67332BFB2C1FE9CDAD@dc1.mv.cariden.com>
Hi all,
I have tried this with various versions of .git-completion, including the most recent one as of today, and whenever I have __git_ps1 in my bash prompt, I get messages like this:

Jun 17 12:05:14 sunray automountd[471]: [ID 834250 daemon.error] Mount of <server>:/export/home/.git on /home/.git: No such file or directory Jun 17 12:05:14 sunray automountd[471]: [ID 834250 daemon.error] Mount of <server>:/export/home/objects on /home/objects: No such file or directory

on /var/adm/messages every time a prompt is printed from the home directory (~). When I am in any subdirectory of ~ this does not happen.
This is probably a result of git/git-completion trying to access the directories above, and automount trying to get them from the server (we're in an NFS home environment, with wildcard automounts in auto_home).
- Cesar
Next: Thomas Rast
Message 1 of 2 in “[BUG] Using git-completion with automounted home directories causes bogus NFS mount requests”
  1. Cesar CrusiusJun 17, 2010
  2. Thomas RastJun 17, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.