Re: Easiest Way in Perl to check Whether a Disk is Mounted

[email protected] (Jeff P via beginners) Sun, 2 Jun 2024 06:29:51 +0800
Newsgroups perl.beginners
Message-ID <[email protected]>


> Of course, I can use system calls and call the unix mount
> or mountpoint applications but is there a proper perl way to do
> this since system calls are not as elegant?  Thank you.

How about this module from metacpan?
https://metacpan.org/pod/Sys::Linux::Mount

regards.