View | Details | Raw Unified | Return to bug 197301
Collapse All | Expand All

(-)fusefs-ntfs/files/patch-ntfsprogs-mkntfs.c.diff (+18 lines)
Line 0 Link Here
1
--- ntfsprogs/mkntfs.c.orig	2014-02-16 00:37:52.000000000 +1030
2
+++ ntfsprogs/mkntfs.c	2015-02-04 09:12:36.561597449 +1030
3
@@ -3486,6 +3486,7 @@
4
 		goto done;
5
 	}
6
 
7
+#if 0
8
 	if (!S_ISBLK(sbuf.st_mode)) {
9
 		ntfs_log_error("%s is not a block device.\n", vol->dev->d_name);
10
 		if (!opts.force) {
11
@@ -3524,6 +3525,7 @@
12
 		ntfs_log_warning("mkntfs forced anyway.\n");
13
 #endif
14
 	}
15
+#endif
16
 	/* Make sure the file system is not mounted. */
17
 	if (ntfs_check_if_mounted(vol->dev->d_name, &mnt_flags)) {
18
 		ntfs_log_perror("Failed to determine whether %s is mounted", vol->dev->d_name);

Return to bug 197301