- plugin to check file system writeable ?

Torleiv Ringer tringer at mpr.org
Wed Jul 6 17:48:31 CEST 2005


> Is there a way to check if the file sytem is writeable ? (windows &
> linux) ?

bash$ cat /etc/mtab

/dev/hda5 /usr ext2 rw 0 0
/dev/hda6 /var ext2 rw 0 0
/dev/sdb1 /opt ext3 rw 0 0

The fourth field shows the read-write status.

-- 
Torleiv Ringer
Broadcast Systems Administrator
Minnesota Public Radio
http://www.mpr.org


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list