Alexander, I want to acknowledge your very substantial reply, I've been busy with other things the last few days and didn't have time to do that. And still don't right now. So, I am going to edit this node when I have time to do your suggestions justice, rather than rush through it. Thanks for your thoughts.

EDIT


Ok, I've had a chance to look at Alexander's post, and download and run the code.

Here's how the data looks from running your first script, on one of my Gnu/Linux systems.

$ perl stat-and-friends.pl
/: on device 2082
/bin: on device 2082 (symlink to usr/bin)
/sbin: on device 2082 (symlink to usr/sbin)
/lib: on device 2082 (symlink to usr/lib)
/usr: on device 2082
/usr/bin: on device 2082
/usr/sbin: on device 2082
/usr/lib: on device 2082
/proc: on device 23
/sys: on device 22
/run: on device 25
/tmp: on device 2082
/var/run: on device 2082 (symlink to /run)
/var/tmp: on device 2082

So. Interesting. This seems useful for getting a picture of how resources are being allocated to the various filesystems. I don't think I've ever actually used perl's stat or lstat in a program I've written. I'm going to have to remember that perl has these built-in functions and they could be useful.

Thanks for waiting a long time for my reply, Alexander :-)


    – Soren
Apr 01, 2026 at 16:31 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.