- if ! ntfs-3g ${options:+-o $options} $1 $2; then
- error "Could not mount NTFS volume \"$1\" on \"$2\". Make sure ntfs-3g is installed."
+ if [ -z "$options" ]; then
+ options="no_def_opts,silent"
+ else
+ options="$options,no_def_opts,silent"
+ fi
+ if ! ntfs-3g -o $options $1 $2; then
+ error "Could not mount NTFS volume \"$1\" on \"$2\"! Make sure ntfs-3g is "\
+ "installed, and that you are either running the tests as root or have ntfs-3g "\
+ "installed setuid root, so that we can mount a NTFS volume."