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

Re: [PATCH] "sleep 1" sleeps too little on cygwin

From
CFChristopher Faylor <me@cgf.cx>
Date
Jan 20, 2006, 15:40 UTC
Message-ID
<20060120154054.GA3392@trixie.casa.cgf.cx>
In-Reply-To
<81b0412b0601200723k1a271046u9c310d9c9b7d83f0@mail.gmail.com>
On Fri, Jan 20, 2006 at 04:23:10PM +0100, Alex Riesen wrote:
Show 26 quoted lines
>On 1/20/06, Christopher Faylor <me@cgf.cx> wrote:
>> On Thu, Jan 19, 2006 at 05:13:17PM -0800, Junio C Hamano wrote:
>> >Christopher Faylor <me@cgf.cx> writes:
>> >>Inodes are only calculated by hashing the path name when the OS lacks
>> >>the support to provide a "real" inode and in that case there is no hard
>> >>link support available so it's a non-issue.
>> >
>> >Does that mean on such filesystems "mv foo bar" would change the i-num
>> >of the moved entity?
>
>It is just a rename. It will not change inode by definition (the file is the
>same, it is the name which was changed). To get inode change you
>have to create it, like "cp foo bar; rm foo". And now, if a filesystem
>has (or exports) inodes, would the inode change. If it does not, you
>really can't say anything about the inode (it can even change, and
>does in this case, being calculated from pathname).
>
>> I just tried this on Windows XP.  On a FAT32 or a NTFS filesystem the
>
>I have FAT32. It does not support inodes"
>    $ : > foo
>    $ stat foo |grep node
>    Device: 111712fch/286724860d    Inode: 3595119992080318288  Links: 1
>    $ mv foo bar
>    $ stat bar |grep node
>    Device: 111712fch/286724860d    Inode: 3595119974866484701  Links: 1

Ok, I must have been hallucinating. I just tried it again. It doesn't work on FAT32.

cgf
Previous: Alex Riesen
Message 22 of 22 in “"sleep 1" sleeps too little on cygwin”
  1. "sleep 1" sleeps too little on cygwinAlex Riesen, Jan 17, 2006
  2. Junio C HamanoJan 18, 2006
  3. Alex RiesenJan 18, 2006
  4. Junio C HamanoJan 18, 2006
  5. Christopher FaylorJan 19, 2006
  6. Junio C HamanoJan 18, 2006
  7. Johannes SchindelinJan 18, 2006
  8. Junio C HamanoJan 18, 2006
  9. Alex RiesenJan 18, 2006
  10. Junio C HamanoJan 19, 2006
  11. Christopher FaylorJan 19, 2006
  12. Alex RiesenJan 19, 2006
  13. Junio C HamanoJan 19, 2006
  14. Alex RiesenJan 19, 2006
  15. Junio C HamanoJan 20, 2006
  16. Christopher FaylorJan 19, 2006
  17. Alex RiesenJan 19, 2006
  18. Christopher FaylorJan 19, 2006
  19. Junio C HamanoJan 20, 2006
  20. Christopher FaylorJan 20, 2006
  21. Alex RiesenJan 20, 2006
  22. Christopher FaylorJan 20, 2006

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.