Announcement

Collapse
No announcement yet.

Dolphin File Folders Maximum Limit?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    Originally posted by jlittle View Post
    ... (is that an urge to futz... tempting)...
    BTW, I wasn't sure if my use of "futz" was good, so I looked it up on Wiktionary. I found the etymology hilarious. An excerpt:
    from German herumfurzen (“to fart around”) (herum- +‎ furzen), perhaps via Yiddish arumfartzen
    So I futzed, avoiding the lawn overdue for a mow. On an old ext4 partition I "made" directories 11,100 deep, and bash coped quite well, but a bit slow to create them all. Alas, there's a limit on path length compiled in to my install (and presumably the same for all 64 bit *ubuntus) of 4096 bytes, so pwd and rm just said "path too long".

    Regards, John Little
    Regards, John Little

    Comment


      #17
      So, did the “path too long” occur at the 11,101th directory?


      Sent from my iPhone using Tapatalk
      "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
      – John F. Kennedy, February 26, 1962.

      Comment


        #18
        Originally posted by GreyGeek View Post
        So, did the “path too long” occur at the 11,101th directory?
        No, when running pwd. The $PWD variable of bash was fine, all forty-odd kB of it; the directory name had 3 characters.

        I got to that number by first running the loop 10 times, then 100, 1000, and 10000. That last was slow enough.

        Just repeated the exercise, on a btrfs, using a 10 character file name, and bash stopped at a depth of about 11,916 with the error "Arg list too long.". $PWD reached a length of nearly 131072, 2**17, which suggests that it has something to do with the error.

        Oops, I can't run anything now, not even rmdir. Any command other than bash builtins give the error "Argument list too long"...

        [edit]ok, I was able to cd up a few times, and commands started working, now I can run rm -r in a loop to clean up the mess.
        Last edited by jlittle; Jan 16, 2018, 05:14 AM. Reason: fixed
        Regards, John Little

        Comment

        Working...
        X