Just tested in dCore, believe TC6 behaves similarly with NTFS. Added ntfs-3g to boot list, rebooted, fstab still read-only for NTFS:
/dev/sda1 /mnt/sda1 ntfs noauto,users,exec,ro,umask=000 0 0 # Added by TC
Using mnttool to mount sda1 results in read-only mount:
touch: cannot touch 'testy': Read-only file system
Umount /dev/sda1 through mnttool , manually run sudo rebuildfstab still read-only.
Does not appear rebuildfstab or mnttool recognizes ntfs-3g on my system.
@dentonlt: A C++ timeout/reload example from MFMR:
#define TIMEOUT_RELOAD 5
/**************************************************************************
*
* Function: idle_function
*
* function to call every TIMEOUT_RELOAD seconds during idle
* - refresh mount list
*
****************************************************************************/
void idle_function (void *) {
static time_t time = 0;
struct stat stat_buffer;
stat("/etc/mtab", &stat_buffer);
if (time == 0)
time = stat_buffer.st_mtime;
else if (stat_buffer.st_mtime > time) {
ptr_mfmmount->find_mounted();
time = stat_buffer.st_mtime;
}
Fl::repeat_timeout(TIMEOUT_RELOAD, idle_function);
}