The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to find the time a filesystem was mounted without using root privileges neuralninja Filesystems, Disks and Memory 1 04-04-2008 02:38 PM
/ filesystem is mounted read only DGK UNIX for Dummies Questions & Answers 2 05-18-2007 05:09 AM
Remote mount an already mounted nfs filesystem itsupplies SUN Solaris 1 09-19-2006 10:31 PM
Mounted Root Filesystem jimthompson UNIX for Advanced & Expert Users 1 01-17-2006 03:59 PM
How can I tell if a filesystem is NFS mounted? giannicello UNIX for Dummies Questions & Answers 3 09-23-2002 03:13 PM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 03-15-2006
xadamz23 xadamz23 is offline
Registered User
  
 

Join Date: Aug 2003
Posts: 31
Testing if nfs filesystem is mounted

Hello,

I have a backup script that backs up my system to a nfs mounted file system. The mount point on my local system is /backup.

I want my script to check whether the nfs file system is mounted on /backup before actually backing anything up. Even if the nfs file system was NOT mounted, there would be a /backup directory on my local system.

Is there a way I can have my script actually check that the nfs filesystem is mounted on /backup?
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 03:22 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0