NTFS: Support compressed files

Project:JNode Core
Component:Code
Category:feature request
Priority:normal
Assigned:Daniel Noll
Status:closed
Description

Support for compressed files in NTFS is currently missing. This issue tracks the progress of implementing such support.

Compression seems to be some variant on the LZ77 theme, although I have managed to confirm that it isn't DEFLATE or any other type which I already had code for. Smiling

JNode has staff???

Nobody is paying me to work on JNode. But I'm open to offers Smiling

the same for me :-)

Stephen, I agree with you and would like to be paid to work on JNode too.

I think he was mentionning his coworkers (but that sounds strange to me anyway : is he paid by his employer to work on JNode ?)

Fabien

my blog (in english and french)

#1

Status:active» patch (code needs review)

I should mention that I'm working on this at the moment.

The support won't be "compressed files" as such but rather compressed non-resident attributes in general. Apparently attributes can be arbitrarily compressed. Interestingly in the disk image I have my hands on, the file compression flag (0x800) in the flags is NOT set, however the non-resident attribute does have the compression flag (0x0001) in its.

#2

First version of patch. If anyone has some time to review it, that would be great. I'll have someone here do a review too.

#3

Unit test code, sample disk image to follow.

#4

Sample small NTFS disk image for unit test, can either be checked in after uncompressing, or unit test could potentially be modified to do that part if space is an issue.

#5

Updated patch after review by staff here. Comment fixes only.

#1

Attaching new patch relative to current trunk.

AttachmentSize
compression.patch32.35 KB

#2

Committed.

#3

Status:patch (code needs review)» fixed

#4

Status:fixed» closed