On Mon, Dec 02, 2002 at 11:34:57AM -0700, Ashley M. Kirchner wrote:
> 
> Is there some way of checking whether an NFS mount is actually mounted for some
> time after a system boots up? 

Here's a short extract from our backup procedure.  The intent of this is
to make sure that our backup mount point is not local.  We were forced
to add this when our backup mount point wasn't mounted and backed up to the
local disk (usually filling it).

# make really sure the destination filesystem is NOT local

if df -l $MOUNT_PT | grep "/dev" > /dev/null
then
    die $MOUNT_PT is local, aborting
fi

-- 
Ed Wilts, Mounds View, MN, USA
mailto:[EMAIL PROTECTED]
Member #1, Red Hat Community Ambassador Program



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to