<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic check if file system is mounted - perl in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/check-if-file-system-is-mounted-perl/m-p/4169067#M90843</link>
    <description>hello,&lt;BR /&gt;does anyone know how can I check wheter a file system is mounted, on a perl script ? without involving any operating system commands - I need to write something which is operating system independed (including windows)&lt;BR /&gt;thanks&lt;BR /&gt;Itai&lt;BR /&gt;</description>
    <pubDate>Thu, 27 Mar 2008 11:00:14 GMT</pubDate>
    <dc:creator>itai weisman</dc:creator>
    <dc:date>2008-03-27T11:00:14Z</dc:date>
    <item>
      <title>check if file system is mounted - perl</title>
      <link>https://community.hpe.com/t5/operating-system-linux/check-if-file-system-is-mounted-perl/m-p/4169067#M90843</link>
      <description>hello,&lt;BR /&gt;does anyone know how can I check wheter a file system is mounted, on a perl script ? without involving any operating system commands - I need to write something which is operating system independed (including windows)&lt;BR /&gt;thanks&lt;BR /&gt;Itai&lt;BR /&gt;</description>
      <pubDate>Thu, 27 Mar 2008 11:00:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/check-if-file-system-is-mounted-perl/m-p/4169067#M90843</guid>
      <dc:creator>itai weisman</dc:creator>
      <dc:date>2008-03-27T11:00:14Z</dc:date>
    </item>
    <item>
      <title>Re: check if file system is mounted - perl</title>
      <link>https://community.hpe.com/t5/operating-system-linux/check-if-file-system-is-mounted-perl/m-p/4169068#M90844</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;At least in UNIX, a mountpoint will always have its inode equal to two (2):&lt;BR /&gt;&lt;BR /&gt;#  perl -le '$dir=shift or die;die "not a dir\n" unless -d $dir;printf "%s a mountpoint\n",(stat _)[1]==2 ? "is":"not"' /path&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 27 Mar 2008 11:20:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/check-if-file-system-is-mounted-perl/m-p/4169068#M90844</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-03-27T11:20:58Z</dc:date>
    </item>
  </channel>
</rss>

