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

Re: "git clone" executed as root on solaris 10 shreds UFS (it is possible to create hardlinks for directories as root under solaris)

From
TGThomas Glanzmann <thomas@glanzmann.de>
Date
Jul 16, 2007, 13:15 UTC
Message-ID
<20070716131537.GA26675@cip.informatik.uni-erlangen.de>
In-Reply-To
<86myxw8pzg.fsf@lola.quinscape.zz>
Hello David,
> Hm?  The hard link counter is "broken" by creating or not creating
> subdirectories, since their ".." is a hard link.

exactly. The question is: Is it a Solaris bug or is it something that is supposed a user is able to do (it doesn't make sense for me)? I posted this problem to comp.unix.solaris and also contacted the UFS Maintainer of Solaris (it is not the first UFS bug I original found). If I don't receive feedback, I am going to open a call with Sun. Whatever is going on (hopefully it isn't PEBKAC - but I don't think so) and this time it isn't broken hardware either (like the last time I reported a serious git bug) because it happens on two machines.

        Thomas
Previous: David KastrupNext: Thomas Glanzmann
Message 8 of 25 in “"git clone" executed as root on solaris 10 shreds UFS (it is possible to create hardlinks for directories as root under solaris)”
  1. Thomas GlanzmannJul 16, 2007
  2. Thomas GlanzmannJul 16, 2007
  3. David KastrupJul 16, 2007
  4. Thomas GlanzmannJul 16, 2007
  5. David KastrupJul 16, 2007
  6. Thomas GlanzmannJul 16, 2007
  7. David KastrupJul 16, 2007
  8. Thomas GlanzmannJul 16, 2007
  9. Thomas GlanzmannJul 16, 2007
  10. Thomas GlanzmannJul 16, 2007
  11. Thomas GlanzmannJul 16, 2007
  12. David KastrupJul 16, 2007
  13. Linus TorvaldsJul 16, 2007
  14. Linus TorvaldsJul 16, 2007
  15. Thomas GlanzmannJul 16, 2007
  16. Thomas GlanzmannJul 16, 2007
  17. Thomas GlanzmannJul 18, 2007
  18. Linus TorvaldsJul 18, 2007
  19. Thomas GlanzmannJul 18, 2007
  20. Thomas GlanzmannJul 16, 2007
  21. Johannes SixtJul 16, 2007
  22. Brian DowningJul 16, 2007
  23. Brian DowningJul 16, 2007
  24. David KastrupJul 16, 2007
  25. Thomas GlanzmannJul 16, 2007

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.