Sep 122014
 

This error, or more precisely

NTFS-3G
NTFS-3G could not mount /dev/disk#
at /Volumes/XXXXXXXX because the following problem occurred:

Did not receive a signal within 15.000000 seconds.
Exiting...
                                           [Close]

started to appear when I installed MacFuse and NTFS-3G on a new MacBookPro 2014 running Mavericks.

It is pretty harmful, since the NTFS volume would mount as well… but annoying.

Since I understand quite few people are experiencing this on the Net and I want to remember the solution I adopted, I have decided to report here the fix I’ve found.

First, copy and past the code below in blue in a txt file.

###################################################
# Fix NTFS-3G 15 second bug under Lion #
###################################################
# Contributed by Vitus13 #
###################################################
# This script was put together based on the code #
# found at this site: #
# http://apple.stackexchange.com/questions/20037 #
# /ntfs-3g-unmounts-ntfs-partitions-because-it- #
# did-not-receive-signal-in-15-second #
# #
# That code was lifted from the post below: #
# http://fernandoff.posterous.com/ntfs-write- #
# support-on-osx-lion-with-ntfs-3g-f #
###################################################
# DISCLAIMER: #
# This worked for me, your mileage may vary. Do #
# not assume that it wont break anything, because #
# it might. No promises. #
###################################################
FUSEWAIT='/usr/local/bin/fuse_wait' 
FUSEWAITORIG='/usr/local/bin/fuse_wait.original'
UTIL='/System/Library/Filesystems/ntfs-3g.fs/ntfs-3g.util'
UTILORIG='/System/Library/Filesystems/ntfs-3g.fs/ntfs-3g.util.original'
if [ ! -f $FUSEWAITORIG ] 
then
 mv $FUSEWAIT $FUSEWAITORIG
fi
if [ ! -f $UTILORIG ]
then
 mv $UTIL $UTILORIG
fi
 
cat > $FUSEWAIT <<'zZzZzZzZaAaFuSeWaItScRiP!aAaZzZzZzZz'
MNTPOINT=$1
shift
TIMEOUT=$1
shift
MNTCMD=$1
shift
 
$MNTCMD "$@" &> /var/log/ntfsmnt.log
MNTCMD_RETVAL=$? 
 
if [ $MNTCMD_RETVAL -eq 0 ]; then
 until [ `/sbin/mount | /usr/bin/grep -c "$MNTPOINT"` -ge 1 ] || [ $TIMEOUT -eq 0 ]
 do
 sleep 1
 let TIMEOUT--
 done
fi
[ $TIMEOUT -eq 0 ] && RETVAL=1 || RETVAL=$MNTCMD_RETVAL
exit $RETVAL;
zZzZzZzZaAaFuSeWaItScRiP!aAaZzZzZzZz
chmod 0755 $FUSEWAIT
chown 0:0 $FUSEWAIT 
 
cat $UTILORIG | sed -e 's/DEFAULT_NTFS_MOUNT_OPTIONS="auto_xattr"/DEFAULT_NTFS_MOUNT_OPTIONS="auto_xattr,noatime,noappledouble,auto_cache"/g' > $UTIL

Second, make the script executable using the command:

chmod +x <filename>

Third, execute the script and enjoy the error disappear the next time you’ll mount a NTFS based disk.

 

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)