Missed part of rdisk -> disk revert.
[dcpomatic.git] / src / tools / dcpomatic_disk_writer.cc
index 3fabe3e28f8a90bb0b216351d490e8ace4650416..b6445ca820a9d8c87afac85e01d5bcd0b3683d8a 100644 (file)
@@ -248,7 +248,7 @@ try
        /* We rely on static initialization for these */
        static struct ext4_fs fs;
        static struct ext4_mkfs_info info;
-       info.block_size = 1024;
+       info.block_size = 4096;
        info.inode_size = 128;
        info.journal = false;
 
@@ -439,7 +439,7 @@ try
                /* Do some basic sanity checks; this is a bit belt-and-braces but it can't hurt... */
 
 #ifdef DCPOMATIC_OSX
-               if (!starts_with(*device, "/dev/rdisk")) {
+               if (!starts_with(*device, "/dev/disk")) {
                        LOG_DISK ("Will not write to %1", *device);
                        nanomsg->send(DISK_WRITER_ERROR "\nRefusing to write to this drive\n1\n", LONG_TIMEOUT);
                        return true;