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

Re: Can git be tweaked to work cross-platform, on FAT32?

From
FSFlorian v. Savigny <lorian@fsavigny.de>
Date
Dec 16, 2006, 09:51 UTC
Message-ID
<0ML25U-1GvWC81sjR-0001UB@mrelayeu.kundenserver.de>
In-Reply-To
<46a038f90612132155rc987a9cs6a4fa33dd4c882c6@mail.gmail.com>
Thank you Martin and Johannes -

before proceeding by following either of your two suggestions, I would like to make sure that there is no other way, so I would like to ask:

1. I know, there is absolutely nothing in either of your answers that
   says that the route I conceived is not possible, but anyway: DO
   your answers imply that it is NOT possible (by "possible", I mean
   of course: possible without re-programming the source code ;-)) to
   compile git in a way that would enable it to work DIRECTLY with a
   local repository on FAT32 from both Windows and Linux (or, perhaps
   more simple: to work directly with a repository on FAT32 under
   Linux)?
   I'm repeating my question because it is impossible for me to tell
   whether this would involve a rather simple change (such as: don't
   use symlinks, and/or: don't care about user/group permissions), or
   whether the critical differences are rather an inherent
   characteristic of git, or perhaps even the libraries it uses.
   And: if this were possible, I would consider it a rather attractive
   idea, not only for me, hence I'd like to rule it out before
   dropping it altogether.
2. ad Martin: Ouf! I have no idea of how Samba works (well, yes: I
   thought it was some kind of server or client program permitting to
   connect to Windows servers or clients), hence I don't get a very
   clear idea of what you have in mind. I hope I have made it clear
   that I am using only one computer (double-boot, simply), and that
   everything is local. I am aware that Linux permits to do "virtual"
   networking with localhost, but how would your scheme work on a
   single machine? Can samba "pretend" there is a Windows network
   behind it, while in truth, it accesses a local directory (on
   FAT32)? And can git work directly in a repository it considers to
   be accessible over the network only?
   The interesting thing in this could be that one could use indeed
   the same repository under both OSes. If I got vaguely the right
   idea, that is.
3. ad Johannes: This does sound quite simple and straightforward. If I
   got it right, it would involve having one repository on a, say,
   ext2 partition to work with under Linux, and one on a FAT32
   partition to work with under Windows, and syncing the two after
   booting (fetching from FAT32) and before shutting down (pushing to
   FAT32) Linux.
   It is quite interesting, BTW, that git can /sync/ with a repository
   on FAT32 under Linux, but not work with it.

Thanks very much for both answers! I would still be curious to know whether there is an answer to my first question, but yours should get me working one way or other.

Regards, Florian
Previous: Martin LanghoffNext: Johannes Schindelin
Message 4 of 15 in “Can git be tweaked to work cross-platform, on FAT32?”
  1. Florian v. SavignyDec 13, 2006
  2. Johannes SchindelinDec 13, 2006
  3. Martin LanghoffDec 14, 2006
  4. Florian v. SavignyDec 16, 2006
  5. Johannes SchindelinDec 16, 2006
  6. Martin LanghoffDec 17, 2006
  7. Stefano SpinucciDec 17, 2006
  8. Johannes SchindelinDec 17, 2006
  9. Juergen RuehleDec 17, 2006
  10. Johannes SchindelinDec 17, 2006
  11. Stefano SpinucciDec 18, 2006
  12. Johannes SchindelinDec 18, 2006
  13. Juergen RuehleDec 18, 2006
  14. Dan NicholsonDec 19, 2006
  15. David LangDec 19, 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.