Comments (2)
Usually fat/exfat fsck truncates the second file. For Windows, if possible, copy the cloned lcn cluster to another cluster. So the file is not truncated.
So I think the latter is more reasonable and safer for users. However, you need to allocate the cluster and change the metadata of ntfs in fsck and even the metadata structure. This puts the corrupted file system at risk of further propagation.
At first, simple is good.
from ntfsprogs-plus.
Thanks for your suggestions. I'd probably try implementing the latter. It might not be that complicated. If cluster allocation fails due to no space error, I think it would be better to deal with the hole or try truncate the remaining size... But I think it would be better to discuss it a little more after checking how windows handles it. Because Windows some time handles it in ways we never thought possible...
from ntfsprogs-plus.
Related Issues (20)
- set index end entry or index end flags if vcn of index entry is invalid
- initialize and remove all index root and index allocation if index block or sizes(alloc, init, data) are invalid
- data variables of non-resident of normal file are corrupted HOT 4
- github action of linux-ntfs cannot clone ntfsprogs HOT 1
- mapping offset of non-resident of normal directory/file are corrupted HOT 1
- How to fix when attribute order corrupted.
- ntfsck recognizes external mft entry as an orphan HOT 2
- After checking filesystem with ntfsck, some issues are still remained. HOT 2
- memory issue using address sanitizer HOT 5
- link_count and FILENAME_ATTR(hard link?)
- Check Reparse tag validation code again
- LCN bitmap & MFT bitmap buffer size optimization
- don't check anything if volume dirty flags check option is used HOT 1
- fixup array corruption HOT 1
- in case that entries_offset of index root has a large or corrupted value, illegal memory access occurs.
- check fsck and mkfs on 4K Native HDD
- aggressive readahead
- core usage is 100% even after a disk is unplugged HOT 1
- how to handle compression and encryption file in fsck ?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ntfsprogs-plus.