<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>NFS &#8211; Johnny Morano&#039;s Tech Articles</title>
	<atom:link href="https://jmorano.moretrix.com/tag/nfs/feed/" rel="self" type="application/rss+xml" />
	<link>https://jmorano.moretrix.com</link>
	<description>Ramblings of an old-fashioned space cowboy</description>
	<lastBuildDate>Wed, 29 Aug 2012 11:52:07 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.6.2</generator>

<image>
	<url>https://jmorano.moretrix.com/wp-content/uploads/2022/04/cropped-jmorano_emblem-32x32.png</url>
	<title>NFS &#8211; Johnny Morano&#039;s Tech Articles</title>
	<link>https://jmorano.moretrix.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Check if a NFS share is mounted</title>
		<link>https://jmorano.moretrix.com/2012/08/check-nfs-share-mounted/</link>
					<comments>https://jmorano.moretrix.com/2012/08/check-nfs-share-mounted/#respond</comments>
		
		<dc:creator><![CDATA[Johnny Morano]]></dc:creator>
		<pubDate>Wed, 29 Aug 2012 11:52:07 +0000</pubDate>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Perl]]></category>
		<category><![CDATA[Dev]]></category>
		<category><![CDATA[NFS]]></category>
		<category><![CDATA[SysAdmin]]></category>
		<guid isPermaLink="false">http://jmorano.moretrix.com/?p=887</guid>

					<description><![CDATA[Below is a small Perl example how to check for NFS mounted shares on a Linux host. The&#8230;]]></description>
										<content:encoded><![CDATA[<p>Below is a small Perl example how to check for NFS mounted shares on a Linux host.<br />
The script does not need any specific modules, and makes use of the <em>/etc/mtab</em> file.</p>
<pre class="brush:perl">
#!/usr/bin/perl
use strict; use warnings;

my @mount_points = do {local @ARGV = '/etc/mtab'; <>};
foreach my $mnt (@mount_points){
    next unless $mnt =~ /nfs/;
    my ($node, $mnt_point, $fs, $options, $dump, $fsck) = split /\s+/, $mnt;
    print "Found NFS share $node mounted on $mnt_point\n";
}
</pre>
]]></content:encoded>
					
					<wfw:commentRss>https://jmorano.moretrix.com/2012/08/check-nfs-share-mounted/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
