FreeBSD Bugzilla – Attachment 152530 Details for
Bug 197301
sysutils/fusefs-ntfs: Remove block device check in mkntfs
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix bug
sysutils-fusefs-ntfs-mkntfs-fix.diff (text/plain), 935 bytes, created by
Daniel O'Connor
on 2015-02-03 22:50:14 UTC
(
hide
)
Description:
Fix bug
Filename:
MIME Type:
Creator:
Daniel O'Connor
Created:
2015-02-03 22:50:14 UTC
Size:
935 bytes
patch
obsolete
>diff -Nur /usr/ports/sysutils/fusefs-ntfs/files/patch-ntfsprogs-mkntfs.c.diff fusefs-ntfs/files/patch-ntfsprogs-mkntfs.c.diff >--- /usr/ports/sysutils/fusefs-ntfs/files/patch-ntfsprogs-mkntfs.c.diff 1970-01-01 09:30:00.000000000 +0930 >+++ fusefs-ntfs/files/patch-ntfsprogs-mkntfs.c.diff 2015-02-04 09:13:05.416597870 +1030 >@@ -0,0 +1,18 @@ >+--- ntfsprogs/mkntfs.c.orig 2014-02-16 00:37:52.000000000 +1030 >++++ ntfsprogs/mkntfs.c 2015-02-04 09:12:36.561597449 +1030 >+@@ -3486,6 +3486,7 @@ >+ goto done; >+ } >+ >++#if 0 >+ if (!S_ISBLK(sbuf.st_mode)) { >+ ntfs_log_error("%s is not a block device.\n", vol->dev->d_name); >+ if (!opts.force) { >+@@ -3524,6 +3525,7 @@ >+ ntfs_log_warning("mkntfs forced anyway.\n"); >+ #endif >+ } >++#endif >+ /* Make sure the file system is not mounted. */ >+ if (ntfs_check_if_mounted(vol->dev->d_name, &mnt_flags)) { >+ ntfs_log_perror("Failed to determine whether %s is mounted", vol->dev->d_name);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 197301
: 152530