Marten Lehmann wrote:
> Hello,
>
> how can I verify if a certain directory is an NFS mount?
>
> Background: I have a directory, which should be an NFS mount so I can
> perform some backup operations on a remote server by simply putting
> files in it. But the netfs-initscript might fail during startup so I
> would make backups to the local harddisk if there is no NFS mount.
So this is on topic for the Perl news group, can you offer up a portion
of the relevant code in question? It shouldn't be too difficult to
ensure the NFS partition is mounted somewhere in the script before it
begins its backup routine. Also, what is the platform? This could be
relevant to the different methods you can use to ensure it's mounted.
--
Tim Greer, CEO/Founder/CTO, BurlyHost.com, Inc.
Shared Hosting, Reseller Hosting, Dedicated & Semi-Dedicated servers
and Custom Hosting. 24/7 support, 30 day guarantee, secure servers.
Industry's most experienced staff! -- Web Hosting With Muscle!
|