Mageia Bugzilla – Attachment 3971 Details for
Bug 7792
Don't mount NTFS partitions, labelled as "problem".
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
ntfs-3g_ntfsprogs-2011.10.9-RC-ntfsck-unsupported-return-0.patch
ntfs-3g_ntfsprogs-2011.10.9-RC-ntfsck-unsupported-return-0.patch (text/plain), 673 bytes, created by
Alex Loginov
on 2013-05-14 00:10:13 CEST
(
hide
)
Description:
ntfs-3g_ntfsprogs-2011.10.9-RC-ntfsck-unsupported-return-0.patch
Filename:
MIME Type:
Creator:
Alex Loginov
Created:
2013-05-14 00:10:13 CEST
Size:
673 bytes
patch
obsolete
>diff -up ntfs-3g_ntfsprogs-2011.10.9-RC/ntfsprogs/ntfsck.c.OLD ntfs-3g_ntfsprogs-2011.10.9-RC/ntfsprogs/ntfsck.c >--- ntfs-3g_ntfsprogs-2011.10.9-RC/ntfsprogs/ntfsck.c.OLD 2011-10-11 10:24:02.381335115 -0400 >+++ ntfs-3g_ntfsprogs-2011.10.9-RC/ntfsprogs/ntfsck.c 2011-10-11 10:26:41.513559206 -0400 >@@ -877,7 +877,11 @@ int main(int argc, char **argv) > if (errors) > return 2; > if (unsupported) >- return 1; >+ ntfs_log_info("ntfsck was unable to run properly.\n"); >+ // If we return 1 here, we fail for ntfs services fscking on boot just because >+ // ntfsck isn't smart enough to handle 99% of cases. So, we just return 0. >+ // return 1; >+ return 0; > return 0; > } >
diff -up ntfs-3g_ntfsprogs-2011.10.9-RC/ntfsprogs/ntfsck.c.OLD ntfs-3g_ntfsprogs-2011.10.9-RC/ntfsprogs/ntfsck.c --- ntfs-3g_ntfsprogs-2011.10.9-RC/ntfsprogs/ntfsck.c.OLD 2011-10-11 10:24:02.381335115 -0400 +++ ntfs-3g_ntfsprogs-2011.10.9-RC/ntfsprogs/ntfsck.c 2011-10-11 10:26:41.513559206 -0400 @@ -877,7 +877,11 @@ int main(int argc, char **argv) if (errors) return 2; if (unsupported) - return 1; + ntfs_log_info("ntfsck was unable to run properly.\n"); + // If we return 1 here, we fail for ntfs services fscking on boot just because + // ntfsck isn't smart enough to handle 99% of cases. So, we just return 0. + // return 1; + return 0; return 0; }
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 7792
:
3970
| 3971