Turn on lwext4 debugging to see if that helps.
authorCarl Hetherington <cth@carlh.net>
Thu, 30 Apr 2020 14:59:49 +0000 (16:59 +0200)
committerCarl Hetherington <cth@carlh.net>
Thu, 30 Apr 2020 14:59:49 +0000 (16:59 +0200)
src/tools/dcpomatic_disk_writer.cc

index b6445ca..d22bff4 100644 (file)
@@ -243,7 +243,7 @@ void
 write (boost::filesystem::path dcp_path, string device)
 try
 {
-//     ext4_dmask_set (DEBUG_ALL);
+       ext4_dmask_set (DEBUG_ALL);
 
        /* We rely on static initialization for these */
        static struct ext4_fs fs;
@@ -277,7 +277,6 @@ try
 
        /* XXX: not sure if disk_id matters */
        int r = ext4_mbr_write (bd, &parts, 0);
-
        if (r) {
                throw CopyError ("Failed to write MBR", r);
        }