Check mount points with Perl script

Here is my script I wrote to possibly add to the cron job to check and mount… mount points.

Linux, Perl Scripts, Tutorials/Whitepapers

2 comments to Check mount points with Perl script

  • JC

    I’d recommend using a bash script if you’re just going to use system calls to df and mount. Or look at how and where Linux stores this information and use read calls. Or even better use actual perl to do the job.

    Reply
  • Brent

    Id rather check /proc/mounts than run the command mount.

    Ive seen it a few times that whats in /proc/mounts is not what gets spit out by ‘mounts’

    Reply

Leave a Reply

Comment
Name*
Mail*
Website*