in reply to Re^3: Dynamically determinig fstab file name
in thread Dynamically determinig fstab file name

Sorry. Took a bit of a leap there. I made the (bad) assumption that your output was demonstration but that, perhaps, cygwin didn't output the fstab file name. The fstab value is what I am looking for. I can get all the data from I want from Sys::Filesystem--as long as I have read access to fstab. That's the sticking point. I want the name of the fstab file on that particular system. This code is running on 100k+ systems across several platforms, so I am loathe to make any assumptions.
  • Comment on Re^4: Dynamically determinig fstab file name

Replies are listed 'Best First'.
Re^5: Dynamically determinig fstab file name
by kcott (Archbishop) on Nov 23, 2022 at 23:03 UTC

    I made an alternative suggestion involving sanity checks: is O/S supported (Sys::Filesystem::->supported()) and, if so, does it find any filesystems ($fs->filesystems()).

    If that's insufficient for your needs, and you absolutely must have the fstab path, I'm unable to advise you further.

    — Ken