Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 3 of 3

Thread: SdFat VS. LittleFS case sensitive filenames and directory names

  1. #1
    Senior Member wwatson's Avatar
    Join Date
    Aug 2017
    Posts
    538

    SdFat VS. LittleFS case sensitive filenames and directory names

    @Bill Greiman - Is SdFat not case sensitive to file and directory names and if so is there something a setting in the config file that I might have missed or can change?

    Thanks

  2. #2
    Senior Member+ KurtE's Avatar
    Join Date
    Jan 2014
    Posts
    9,576
    I could be wrong... But I believe that most if not all Fat file systems are Case Insensitive but Case preserving file systems.

  3. #3
    Senior Member wwatson's Avatar
    Join Date
    Aug 2017
    Posts
    538
    @KurtE - I ran some tests on LittleFS using lfs_stat() and found that it is case sensitive. If the filename does not match case wise then it returns -2. If they do match it returns 0.
    This not a problem. I was just curious. Could not find it in the LittleFS docs

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •