Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 1441538 Details for
Bug 1582491
blkid does not recognize ntfs partition when cluster size is over 65K
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Proposed patch to libblkid/src/superblocks/ntfs.c for big ntfs clusters
ntfs.c.patch (text/plain), 1.06 KB, created by
Jean-Pierre André
on 2018-05-25 12:05:51 UTC
(
hide
)
Description:
Proposed patch to libblkid/src/superblocks/ntfs.c for big ntfs clusters
Filename:
MIME Type:
Creator:
Jean-Pierre André
Created:
2018-05-25 12:05:51 UTC
Size:
1.06 KB
patch
obsolete
>--- ntfs.c.ref 2018-05-25 12:00:22.937792800 +0200 >+++ ntfs.c 2018-05-25 12:12:55.919038000 +0200 >@@ -72,7 +72,8 @@ > } __attribute__((__packed__)); > > #define MFT_RECORD_VOLUME 3 >-#define NTFS_MAX_CLUSTER_SIZE (64 * 1024) >+/* Windows 10 Creators edition has extended the cluster size limit to 2MB */ >+#define NTFS_MAX_CLUSTER_SIZE (2 * 1024 * 1024) > > enum { > MFT_RECORD_ATTR_VOLUME_NAME = 0x60, >@@ -97,16 +98,19 @@ > * Check bios parameters block > */ > sector_size = le16_to_cpu(ns->bpb.sector_size); >- sectors_per_cluster = ns->bpb.sectors_per_cluster; > > if (sector_size < 256 || sector_size > 4096) > return 1; > >- switch (sectors_per_cluster) { >+ switch (ns->bpb.sectors_per_cluster) { > case 1: case 2: case 4: case 8: case 16: case 32: case 64: case 128: >+ sectors_per_cluster = ns->bpb.sectors_per_cluster; > break; > default: >- return 1; >+ if ((ns->bpb.sectors_per_cluster < 240) >+ || (ns->bpb.sectors_per_cluster > 249)) >+ return 1; >+ sectors_per_cluster = 1 << (256 - ns->bpb.sectors_per_cluster); > } > > if ((uint16_t) le16_to_cpu(ns->bpb.sector_size) *
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 1582491
: 1441538 |
1441640