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.
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
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |