I ran your code (in Cygwin's shell), Fletch, thanks. My directories are absolute paths:

$ abs_path `perl -MConfig -le 'printf "%s %s", $Config{installprivlib}, $Config{installarchlib}'`
/usr/share/perl5/5.40
/usr/lib/perl5/5.40/x86_64-cygwin-threads

I tried an idea that occurred to me (and is indirectly suggested by Dave above). The 'nix command du:

 
$ du -sh `perl -MConfig -le 'printf "%s %s", $Config{installprivlib}, $Config{installarchlib}'`
27M     /usr/share/perl5/5.40
24M     /usr/lib/perl5/5.40/x86_64-cygwin-threads

I'd say that du is doing something different (and what I want) from what Filesys::DfPortable dfportable is doing. The above question from Dave is on target. The two dirs are on the same filesystem. I was naively believing that I'd get the sum of the usage of each directory tree, not of the entire filesystem containing the directory tree(s). A significant distinction, eh. Despite the use of the term Filesys. Ok, that warrants a duh.

    – Soren
Mar 10, 2026 at 16:21 UTC


In reply to Re^3: An anomaly with Filesys::DfPortable, I need your eyes by Intrepid
in thread An anomaly with Filesys::DfPortable, I need your eyes by Intrepid

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.