Tmpfs Adding Case Insensitive Support For Wine / Steam Play & Flatpaks

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • cl333r
    Senior Member
    • Oct 2009
    • 2296

    #21
    Originally posted by Quackdoc View Post

    me arms and wrists hurt too much to bother with capitalization
    That's a bizarre answer.

    Comment

    • cynic
      Senior Member
      • Oct 2011
      • 1084

      #22
      case insensitivity is just plain stupid: developers should learn how to name things properly.
      supporting stupidity generates a lot of long term issues.

      Comment

      • geerge
        Senior Member
        • Aug 2023
        • 333

        #23
        Originally posted by cynic View Post
        case insensitivity is just plain stupid: developers should learn how to name things properly.
        supporting stupidity generates a lot of long term issues.
        Very true, multiple filenames resolving to the same file should be reserved for symlinks. Baking in hackey kinda-symlink behaviour is just asking for, and has received countless times, trouble. Locale issues, non-latin alphabets, things I don't want the FS to make arbitrary decisions based on.

        As are spaces in common folders. Looking at you "Program Files (x86)", what the hell MS I don't want to type quotes to traverse the system you're nuts.

        Comment

        • curfew
          Senior Member
          • Aug 2010
          • 631

          #24
          Originally posted by cynic View Post
          case insensitivity is just plain stupid: developers should learn how to name things properly.
          supporting stupidity generates a lot of long term issues.
          It's needed to support old apps that are broken already. It's also quite difficult to police for it when it's enabled, because people make typos all the time -- especially with letter-casing.

          Rather it's stupid to not use lower-cased letters all the time. Why do files especially in Windows apps have capital letters in the first place???

          Comment

          • oiaohm
            Senior Member
            • Mar 2017
            • 8269

            #25
            Originally posted by Spacefish View Post
            NTFS can already enable/disable case-sensitivity on a per folder basis, so why not start to migrate to case-sensitive like any other OS out there long term..
            If you have ever forced windows to install with case-sensitivity on completely you watch application after application fail to work due to errors like "Program Files" being "program files" and so on and so on.

            Wine project has had to emulate case insensitivity for a long time to deal with applications have it coded in and will not run without it.

            Comment

            • oiaohm
              Senior Member
              • Mar 2017
              • 8269

              #26
              Originally posted by curfew View Post
              Rather it's stupid to not use lower-cased letters all the time. Why do files especially in Windows apps have capital letters in the first place???
              If you go back to CP/M the complete file system had no concept of lower case letters. What you asked is backwards " Its why does Windows apps in their file name have lower case letters?" Remember MS-Dos was basically attempt to clone CP/M cheaply. You will notice all your early dos manuals have all your command in upper case nothing in lower case. Yes the filenames of all early msdos/pcdos(the one ibm bought from Microsoft) applications are all uppercase. Like COMMAND.COM that how it on the file system its not command.com. EDIT.COM its not edit.com. WIN.COM of Windows 1, 2 and 3. At some point we linked writing in all caps as shouting so lowercase had to be added to be polite. Also who want to be always making sure when they are on the command line they have the caplock to type the command then turn it back off again this is where the case insensitivity starts.

              Its the unix world that was all lower case by default. Windows starting point is CP/M not unix. CP/M starting point really flips the script think this has you starting with pure upper case system.

              Comment

              • usta
                Senior Member
                • Feb 2014
                • 134

                #27
                Originally posted by skeevy420 View Post

                It actually seems like it does more than the XFCE one. The one with XFCE comes with Thunar. I guess I really meant Thunar and Dolphin more than XFCE and KDE.
                Actually if you have krename on your system you can access it though dolphin easily
                ​​
                image.png

                Comment

                • ssokolow
                  Senior Member
                  • Nov 2013
                  • 5080

                  #28
                  Originally posted by mobadboy View Post
                  It's funny because windows is basically Linux now, but with a couple of ad trackers on top. But WHY are these idiots, of all things, taking the trash case insensitive filesystem to Linux?? Will /bin become /BiN????
                  Of course not... for the same reason that you can create /i/like/my/facts/with/con.txt on Linux but you can't create C:\I\Like\My\Facts\With\Con.txt on Windows... Windows cares about backwards compatibility with DOS-era design decisions like extensionless, pre-support-for-directories COPY CON that batch files on Windows NT wound up depending on.

                  In this case, it has to do with how long filename support got retrofitted onto FAT, and what less-than-ideal decisions wound up fossilized into explorer.exe and cmd.exe instead of baked into the FAT filesystem driver instead.

                  Originally posted by mobadboy View Post
                  please tell me this has already been nacked, jesus
                  Of course it hasn't, because being able to use game mods made by Windows users without being an entitled power-user prick so bored that he doesn't mind going through and fixing filenames isn't a design goal of Linux and never has been.

                  Plus, this is purely about allowing the existing ext4 case-insensitive option to work in sandboxes which are rooted in a tmpfs

                  Code:
                  ssokolow@monolith-tng ~ % flatpak run --command=bash org.freedesktop.Sdk                        
                  [📦 org.freedesktop.Sdk ~]$ cat /proc/mounts
                  tmpfs / tmpfs rw,nosuid,nodev,relatime,uid=1000,gid=1000,inode64 0 0
                  [...a bunch of other mountpoints to stitch the sandbox together including more tmpfs...]​

                  Comment

                  • usta
                    Senior Member
                    • Feb 2014
                    • 134

                    #29
                    case insensitivity also have lots of problem when you deal with multilocale/multilanguage systems.
                    For example in Turkish language i upperCase-> İ and I lowercase-> ı . ( it has Iİıi ) so lets think these examples if a file/folder's name is Iamistanbul lets try to make this insensitive

                    Comment

                    • uxmkt
                      Senior Member
                      • Dec 2018
                      • 319

                      #30
                      Thanks Michael—now, whenever someone mentions tmpfs, I'm like "this is how I imagine tmpfs to look like", this mythical world of a file's blocks (extents) partly fragmented yet held together by strings:

                      Comment

                      Working...
                      X