Monday, May 23, 2011

Detecting Read-only filesystems

http://planet.admon.org/detect-read-only-partition-in-linux/

The above link ...

#!/bin/sh

touch $1 2>&1 | grep Read > /dev/null
echo $?

Looks like VM have more a lot of trouble with readonly filesystem issues

No comments:

Post a Comment