From: lars@beagle-ears.com   
      
   On 2026-01-08, Lars Poulsen wrote:   
   >> On 08/01/2026 13:17, Carlos E.R. wrote:   
   >>> What happens when you export a linux mount using samba, and the mount   
   >>> contains files that are different only in case?   
   >   
   > On 2026-01-08, The Natural Philosopher wrote:   
   >> Samba mangles the filenames   
   >   
   > I just now tested it.   
   >   
   > On the Linux side   
   > echo "Test with upper case" >Test   
   > echo "test with lower case" >test   
   >   
   > On the windows side, only the all-lower-case side is visible.   
   >   
   > After I do "touch Test", it flips so that only Test is visible.   
   >   
   > Interestingly, this has never come up in my real life, and if   
   > I ever successfully get my file systems converted to "case   
   > preserving" the spelling that is created first will prevail,   
   > but the content matches the latest write access;   
   > i.e. after the above setup, "cat Test" on the Linux side   
   > will yield "test with lower case".   
   >   
   > So it appears that Samba makes a decent approximation.   
      
   *** Correction ***   
      
   Richard K got a different result, and after a few minutes   
   (while I found and read his response), so did I.   
   See my followup to his message.   
      
   --   
   Lars Poulsen - an old geek in Santa Barbara, California   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|