]> wimlib.net Git - wimlib/log
wimlib
11 years agomkwinpeimg.1 updates
Eric Biggers [Sat, 1 Sep 2012 19:51:08 +0000 (14:51 -0500)]
mkwinpeimg.1 updates

11 years agoUpdate Arch Linux PKGBUILD
Eric Biggers [Sat, 1 Sep 2012 19:47:05 +0000 (14:47 -0500)]
Update Arch Linux PKGBUILD

11 years agoTest suite: Allow out of directory build
Eric Biggers [Sat, 1 Sep 2012 19:27:16 +0000 (14:27 -0500)]
Test suite: Allow out of directory build

11 years agodoxygen docs updates
Eric Biggers [Sat, 1 Sep 2012 18:49:57 +0000 (13:49 -0500)]
doxygen docs updates

11 years agoUpdate TODO
Eric Biggers [Sat, 1 Sep 2012 18:26:36 +0000 (13:26 -0500)]
Update TODO

11 years agoUpdate NEWS
Eric Biggers [Sat, 1 Sep 2012 18:26:11 +0000 (13:26 -0500)]
Update NEWS

11 years agosecurity descriptor application fix
Eric Biggers [Sat, 1 Sep 2012 17:58:09 +0000 (12:58 -0500)]
security descriptor application fix

11 years agoDocument libntfs-3g versions allowed
Eric Biggers [Sat, 1 Sep 2012 13:58:42 +0000 (08:58 -0500)]
Document libntfs-3g versions allowed

11 years agoGet rid of code clone from libntfs-3g
Eric Biggers [Sat, 1 Sep 2012 05:45:14 +0000 (00:45 -0500)]
Get rid of code clone from libntfs-3g

11 years agoNTFS capture update
Eric Biggers [Sat, 1 Sep 2012 05:38:52 +0000 (00:38 -0500)]
NTFS capture update

Allow the use of ntfs_xattr_system_getattr() as an alternative to
ntfs_get_inode_security() and ntfs_get_inode_attributes().

11 years agoNTFS apply update
Eric Biggers [Sat, 1 Sep 2012 05:21:08 +0000 (00:21 -0500)]
NTFS apply update

Allow the use of ntfs_xattr_system_setxattr() as an alternative to
ntfs_set_inode_security() and ntfs_set_inode_attributes().

11 years agoimagex capture and append consolidation
Eric Biggers [Sat, 1 Sep 2012 05:02:52 +0000 (00:02 -0500)]
imagex capture and append consolidation

11 years agoimage default names
Eric Biggers [Sat, 1 Sep 2012 04:47:01 +0000 (23:47 -0500)]
image default names

11 years agoExport from split WIM
Eric Biggers [Sat, 1 Sep 2012 03:04:46 +0000 (22:04 -0500)]
Export from split WIM

11 years agoMore comments about flags
Eric Biggers [Sat, 1 Sep 2012 01:52:07 +0000 (20:52 -0500)]
More comments about flags

11 years agoSplit WIM mount and split WIM documentation
Eric Biggers [Sat, 1 Sep 2012 01:31:02 +0000 (20:31 -0500)]
Split WIM mount and split WIM documentation

11 years agosplit WIM apply, doc updates
Eric Biggers [Fri, 31 Aug 2012 22:31:56 +0000 (17:31 -0500)]
split WIM apply, doc updates

11 years agoENOENT fix
Eric Biggers [Fri, 31 Aug 2012 04:37:37 +0000 (23:37 -0500)]
ENOENT fix

11 years agoFix a couple random issues
Eric Biggers [Fri, 31 Aug 2012 04:34:32 +0000 (23:34 -0500)]
Fix a couple random issues

11 years agoFix print part number of total parts in WIM header
Eric Biggers [Fri, 31 Aug 2012 04:03:39 +0000 (23:03 -0500)]
Fix print part number of total parts in WIM header

11 years agoNTFS test updates and NTFS capture fix
Eric Biggers [Fri, 31 Aug 2012 03:52:16 +0000 (22:52 -0500)]
NTFS test updates and NTFS capture fix

11 years agoNTFS tests
Eric Biggers [Fri, 31 Aug 2012 02:56:22 +0000 (21:56 -0500)]
NTFS tests

11 years agontfs-cmp program
Eric Biggers [Fri, 31 Aug 2012 02:36:46 +0000 (21:36 -0500)]
ntfs-cmp program

11 years agoMore test cases and DOS names capture/apply fixes
Eric Biggers [Thu, 30 Aug 2012 22:55:28 +0000 (17:55 -0500)]
More test cases and DOS names capture/apply fixes

11 years agoMore NTFS tests
Eric Biggers [Thu, 30 Aug 2012 19:53:18 +0000 (14:53 -0500)]
More NTFS tests

11 years agotest-imagex-ntfs (IN PROGRESS)
Eric Biggers [Thu, 30 Aug 2012 19:25:37 +0000 (14:25 -0500)]
test-imagex-ntfs (IN PROGRESS)

11 years agoFix build without new libntfs-3g
Eric Biggers [Thu, 30 Aug 2012 18:03:28 +0000 (13:03 -0500)]
Fix build without new libntfs-3g

11 years agonew NTFS 3g patches
Eric Biggers [Thu, 30 Aug 2012 17:59:56 +0000 (12:59 -0500)]
new NTFS 3g patches

11 years agorm COPYING.LIB from Makefile.am
Eric Biggers [Thu, 30 Aug 2012 05:09:16 +0000 (00:09 -0500)]
rm COPYING.LIB from Makefile.am

11 years agoUpdate NEWS, docs
Eric Biggers [Thu, 30 Aug 2012 05:06:10 +0000 (00:06 -0500)]
Update NEWS, docs

11 years agowimlib.h documentation
Eric Biggers [Thu, 30 Aug 2012 04:50:44 +0000 (23:50 -0500)]
wimlib.h documentation

11 years agoMore documentation updates
Eric Biggers [Thu, 30 Aug 2012 04:07:50 +0000 (23:07 -0500)]
More documentation updates

11 years agoMan page updates
Eric Biggers [Thu, 30 Aug 2012 02:30:01 +0000 (21:30 -0500)]
Man page updates

11 years agoimagex apply documentation
Eric Biggers [Thu, 30 Aug 2012 02:07:49 +0000 (21:07 -0500)]
imagex apply documentation

11 years agoLicense and documentation
Eric Biggers [Thu, 30 Aug 2012 00:34:12 +0000 (19:34 -0500)]
License and documentation

Change license LGPLv2.1 to GPLv3+ and begin updating documentation

11 years agoNTFS apply ADS fixes
Eric Biggers [Wed, 29 Aug 2012 22:18:17 +0000 (17:18 -0500)]
NTFS apply ADS fixes

11 years agoFix various NTFS capture issues
Eric Biggers [Wed, 29 Aug 2012 21:45:29 +0000 (16:45 -0500)]
Fix various NTFS capture issues

11 years agoRemove duplicate ntfs typedefs
Eric Biggers [Wed, 29 Aug 2012 14:17:21 +0000 (09:17 -0500)]
Remove duplicate ntfs typedefs

11 years agoAdd config.rpath (empty file)
Eric Biggers [Wed, 29 Aug 2012 13:50:19 +0000 (08:50 -0500)]
Add config.rpath (empty file)

11 years agoComments etc.
Eric Biggers [Wed, 29 Aug 2012 04:48:58 +0000 (23:48 -0500)]
Comments etc.

11 years agoBuild fixes
Eric Biggers [Wed, 29 Aug 2012 03:38:21 +0000 (22:38 -0500)]
Build fixes

Use casts to or from `uintptr_t' to avoid warnings on 32-bit platforms when we
get or set the FUSE private data in mount.c.

Make the XATTR interface optional.  Support is omitted automatically if the
setxattr() function or the `attr/xattr.h' header is not found.

Fix a couple of the test cases.

11 years agodentry.h: Don't typedef WIMStruct
Eric Biggers [Wed, 29 Aug 2012 02:50:13 +0000 (21:50 -0500)]
dentry.h: Don't typedef WIMStruct

(Avoid duplicate typedef)

11 years agoFix various issues
Eric Biggers [Wed, 29 Aug 2012 02:41:47 +0000 (21:41 -0500)]
Fix various issues

11 years agoPrint names of dentries in split link groups when in debug mode
Eric Biggers [Wed, 29 Aug 2012 01:39:18 +0000 (20:39 -0500)]
Print names of dentries in split link groups when in debug mode

11 years agoCleanups and rename dentry->hard_link to dentry->link_group_id
Eric Biggers [Wed, 29 Aug 2012 00:47:50 +0000 (19:47 -0500)]
Cleanups and rename dentry->hard_link to dentry->link_group_id

11 years agoTimestamp printing UTC
Eric Biggers [Tue, 28 Aug 2012 22:30:50 +0000 (17:30 -0500)]
Timestamp printing UTC

11 years agoHard link group disambiguation
Eric Biggers [Tue, 28 Aug 2012 19:55:41 +0000 (14:55 -0500)]
Hard link group disambiguation

11 years agoHard link disambiguation
Eric Biggers [Tue, 28 Aug 2012 19:07:21 +0000 (14:07 -0500)]
Hard link disambiguation

Will be adding more comments and doing more testing soon

11 years agoAlign security data correctly
Eric Biggers [Tue, 28 Aug 2012 05:45:14 +0000 (00:45 -0500)]
Align security data correctly

11 years agodentry_first_lte() -> dentry_unnamed_lte()
Eric Biggers [Tue, 28 Aug 2012 05:24:28 +0000 (00:24 -0500)]
dentry_first_lte() -> dentry_unnamed_lte()

This probably doesn't make a difference, but when we were looking for the
"first" lookup table entry what we really wanted was to find the lookup table
for the un-named data stream, even if it's in an alternate data stream rather
than the expected location in the dentry.

11 years agoxattr ADS fixes
Eric Biggers [Tue, 28 Aug 2012 04:59:44 +0000 (23:59 -0500)]
xattr ADS fixes

11 years agoverify_dentry()
Eric Biggers [Tue, 28 Aug 2012 04:10:26 +0000 (23:10 -0500)]
verify_dentry()

Do some more verifications on each dentry after we read them all into memory.

11 years agoDo not add lookup table entry for empty files
Eric Biggers [Tue, 28 Aug 2012 03:21:39 +0000 (22:21 -0500)]
Do not add lookup table entry for empty files

11 years agoMore ADS and dentry alignment and padding issues
Eric Biggers [Tue, 28 Aug 2012 03:12:52 +0000 (22:12 -0500)]
More ADS and dentry alignment and padding issues

So... I think that ALL the filename fields (short name, file name, stream name)
actually have a 2-byte null terminator, but NOT if that field has zero length.
This is now taken into account.

A warning is now issued if the dentry length is unexpectedly large.

We will now write all dentries with the "canonical" length regardless of what
dentry length was read in (as we are throwing out whatever junk was appended to
it anyway...).

11 years agowarning if null filename terminator is not null
Eric Biggers [Tue, 28 Aug 2012 02:00:51 +0000 (21:00 -0500)]
warning if null filename terminator is not null

11 years agoADS entry reading: minor changes
Eric Biggers [Tue, 28 Aug 2012 01:48:00 +0000 (20:48 -0500)]
ADS entry reading: minor changes

- Make sure the length field of each ADS entry makes sense.
- Allow an ADS entry at the end of the metadata resource to contain no padding
  following it (probably isn't necessary, but who knows--- best to make the code
  able to handle these weird cases).

11 years agoReviewed code in dentry.c and {read,write}_metadata_resource()
Eric Biggers [Tue, 28 Aug 2012 01:13:20 +0000 (20:13 -0500)]
Reviewed code in dentry.c and {read,write}_metadata_resource()

- Added lots of comments.
- Fix writing the metadata resource when there is security data with length that
  isn't a multiple of 8 bytes.
- write_dentry_tree() is now a wrapper around write_dentry_tree_recursive(), the
  latter of which does not need to treat the root dentry specially.

11 years agoNTFS capture updates
Eric Biggers [Mon, 27 Aug 2012 22:30:07 +0000 (17:30 -0500)]
NTFS capture updates

11 years agoimagex options
Eric Biggers [Mon, 27 Aug 2012 04:41:41 +0000 (23:41 -0500)]
imagex options

11 years agowimlib_add_image(): Fewer parameters
Eric Biggers [Mon, 27 Aug 2012 04:34:52 +0000 (23:34 -0500)]
wimlib_add_image(): Fewer parameters

No more description and flags_element parameters.  There are separate functions
to set those.

11 years agoCase insensitive exclusion pattern matching
Eric Biggers [Mon, 27 Aug 2012 03:56:12 +0000 (22:56 -0500)]
Case insensitive exclusion pattern matching

11 years agoExclusion paths updates
Eric Biggers [Mon, 27 Aug 2012 03:52:18 +0000 (22:52 -0500)]
Exclusion paths updates

- Strip drive letter if given.
- Allow paths relative to capture root to begin with a non-slash character,
  provided that they contain another slash somewhere in them (otherwise they are
  interpreted as a filename pattern).

11 years agoRelative file exclusion
Eric Biggers [Mon, 27 Aug 2012 03:45:27 +0000 (22:45 -0500)]
Relative file exclusion

File exclusion patterns are now intepreted relative to the directory of capture.

11 years agoImage capture configuration
Eric Biggers [Mon, 27 Aug 2012 03:32:09 +0000 (22:32 -0500)]
Image capture configuration

Support a capture configuration file like Microsoft's imagex.exe does.  It lets
you specify patterns of files to exclude from capture, exclude from compression,
or align within the WIM file.  Currently, only the exclusion list is
implemented.  --config options have been added to `imagex capture' and `imagex
append'.

11 years agoMisc fixes
Eric Biggers [Sun, 26 Aug 2012 23:46:47 +0000 (18:46 -0500)]
Misc fixes

- Remove code pertaining to root permissions.  We don't need to be root to do a
  NTFS apply anymore.
- Improve comments on fields of `struct dentry'.
- Another fix to hard-link creation in the NTFS apply.  We close the directory
  inode before opening the target inode and re-opening the directory inode, so
  that we can make sure the directory inode will not be opened twice at the same
  time.

11 years agoComments, function renaming
Eric Biggers [Sun, 26 Aug 2012 18:38:43 +0000 (13:38 -0500)]
Comments, function renaming

11 years agoA couple more debug statements
Eric Biggers [Sun, 26 Aug 2012 18:32:11 +0000 (13:32 -0500)]
A couple more debug statements

11 years agoMisc. fixes
Eric Biggers [Sun, 26 Aug 2012 18:19:20 +0000 (13:19 -0500)]
Misc. fixes

11 years agoNTFS capture updates (IN PROGRESS)
Eric Biggers [Sun, 26 Aug 2012 17:50:35 +0000 (12:50 -0500)]
NTFS capture updates (IN PROGRESS)

Also, add preapply_dentry_with_dos_name() function

11 years agoNTFS capture (IN PROGRESS)
Eric Biggers [Sun, 26 Aug 2012 03:31:06 +0000 (22:31 -0500)]
NTFS capture (IN PROGRESS)

11 years agoNTFS capture (IN PROGRESS)
Eric Biggers [Sun, 26 Aug 2012 02:41:01 +0000 (21:41 -0500)]
NTFS capture (IN PROGRESS)

11 years agonew_lookup_table_entry() fix
Eric Biggers [Sun, 26 Aug 2012 02:20:57 +0000 (21:20 -0500)]
new_lookup_table_entry() fix

11 years agoNTFS capture (IN PROGRESS)
Eric Biggers [Sun, 26 Aug 2012 02:12:08 +0000 (21:12 -0500)]
NTFS capture (IN PROGRESS)

11 years agoNTFS capture (IN PROGRESS)
Eric Biggers [Sun, 26 Aug 2012 00:57:46 +0000 (19:57 -0500)]
NTFS capture (IN PROGRESS)

11 years agontfs-capture.c
Eric Biggers [Sat, 25 Aug 2012 22:34:01 +0000 (17:34 -0500)]
ntfs-capture.c

Stub for ntfs_add_image_from_ntfs_volume().

11 years agoDOS names fix
Eric Biggers [Sat, 25 Aug 2012 22:18:46 +0000 (17:18 -0500)]
DOS names fix

11 years agoFix wimfs_getattr()
Eric Biggers [Sat, 25 Aug 2012 19:52:41 +0000 (14:52 -0500)]
Fix wimfs_getattr()

11 years agoNTFS apply updates
Eric Biggers [Sat, 25 Aug 2012 18:58:11 +0000 (13:58 -0500)]
NTFS apply updates

- Hard link creation code fixed and uncommented.  We need to close the source
  directory inode before the target inode.
- Code to set DOS filenames added but commented out due to a problem.
- New function wim_apply_dentry_timestamps() to apply timestamps to dentry, run
  in a depth-first traversal of the directory tree following the main WIM
  application.

11 years agoImplement XATTR interface to ADS in wimfs
Eric Biggers [Sat, 25 Aug 2012 05:13:31 +0000 (00:13 -0500)]
Implement XATTR interface to ADS in wimfs

11 years agoFixes for Windows ADS interface
Eric Biggers [Sat, 25 Aug 2012 04:02:34 +0000 (23:02 -0500)]
Fixes for Windows ADS interface

11 years agoNTFS apply fixes
Eric Biggers [Fri, 24 Aug 2012 22:17:45 +0000 (17:17 -0500)]
NTFS apply fixes

Minor fixes

Also, comment out hard link creation code until a problem is fixed

11 years agoInclude _ntfs_valid_descr()
Eric Biggers [Fri, 24 Aug 2012 21:18:52 +0000 (16:18 -0500)]
Include _ntfs_valid_descr()

Patch the ntfs_valid_descr() function from libntfs-3g to allow security
descriptors that end with an empty SACL

11 years agoExtract NTFS junction points correctly
Eric Biggers [Fri, 24 Aug 2012 04:22:36 +0000 (23:22 -0500)]
Extract NTFS junction points correctly

They need to be made as directories not regular files.

11 years agoNTFS apply updates
Eric Biggers [Fri, 24 Aug 2012 03:23:33 +0000 (22:23 -0500)]
NTFS apply updates

- Apply data streams, including all alternate data streams
- Set reparse data correctly

11 years agoDefault to XPRESS compression
Eric Biggers [Fri, 24 Aug 2012 01:43:23 +0000 (20:43 -0500)]
Default to XPRESS compression

11 years agoComments
Eric Biggers [Fri, 24 Aug 2012 01:39:35 +0000 (20:39 -0500)]
Comments

11 years agoCode to handle some weird siutations and bad WIMs
Eric Biggers [Fri, 24 Aug 2012 00:44:42 +0000 (19:44 -0500)]
Code to handle some weird siutations and bad WIMs

- read_lookup_table():  It is now an error if uncompressed resources have
  different compressed and uncompressed size.
- read_lookup_table(): It is now an error if two lookup table entries have the
  same SHA1 message digest.
- write_metadata_resource(): Append 20 random bytes to the end of the metadata
  resource to make the metadata resource unique even if we capture exactly the
  same image again.

11 years agoMore comments
Eric Biggers [Thu, 23 Aug 2012 21:57:02 +0000 (16:57 -0500)]
More comments

Also calculate hash in write_wim_resource_from_buffer() and not
write_metadata_resource() to avoid redundant SHA1 calculations

11 years agoComments; check SHA1 md in extract_wim_resource_to_fd()
Eric Biggers [Thu, 23 Aug 2012 19:55:19 +0000 (14:55 -0500)]
Comments; check SHA1 md in extract_wim_resource_to_fd()

11 years agoFinally fixed most of the problems with the new resource code.
Eric Biggers [Thu, 23 Aug 2012 14:50:42 +0000 (09:50 -0500)]
Finally fixed most of the problems with the new resource code.

Also, write_wim_resource() will now verify the SHA1 message digest when writing
a WIM resource.  This makes it possible to detect concurrent modifications of
the directory tree when capturing a WIM.

11 years agoResource fixes/changes
Eric Biggers [Thu, 23 Aug 2012 03:11:32 +0000 (22:11 -0500)]
Resource fixes/changes

Fixes to the new WIM resource code

Also, write a resource uncompressed when the compressed resource is larger than
the uncompressed resource.

11 years agoPartial fixes and comments
Eric Biggers [Wed, 22 Aug 2012 05:55:58 +0000 (00:55 -0500)]
Partial fixes and comments

11 years agoRewritten functions for reading and writing resources
Eric Biggers [Wed, 22 Aug 2012 04:40:57 +0000 (23:40 -0500)]
Rewritten functions for reading and writing resources

Functions for reading and writing compressed and uncompressed resources have
been rewritten to reduce code duplication and simplify the interface to the rest
of the code.

Not yet tested and commented.

11 years agoComments; NTFS hardlinks
Eric Biggers [Tue, 21 Aug 2012 23:26:03 +0000 (18:26 -0500)]
Comments; NTFS hardlinks

11 years agontfs.c => ntfs-apply.c
Eric Biggers [Tue, 21 Aug 2012 22:48:01 +0000 (17:48 -0500)]
ntfs.c => ntfs-apply.c

11 years agoAdd modified security.c from NTFS-3g
Eric Biggers [Tue, 21 Aug 2012 22:17:36 +0000 (17:17 -0500)]
Add modified security.c from NTFS-3g

This simplifies WIM application because we can modifiy
ntfs_set_file_attributes() and ntfs_set_file_security() to take ntfs_inodes
instead of pathnodes, and we can also get rid of the SECURITY_API structure.

11 years agoWrite NTFS data streams (IN PROGRESS)
Eric Biggers [Tue, 21 Aug 2012 18:04:08 +0000 (13:04 -0500)]
Write NTFS data streams (IN PROGRESS)

11 years agoNTFS apply (IN PROGRESS)
Eric Biggers [Tue, 21 Aug 2012 17:31:29 +0000 (12:31 -0500)]
NTFS apply (IN PROGRESS)

11 years agontfs_apply_dentry() (IN PROGRESS)
Eric Biggers [Tue, 21 Aug 2012 05:11:47 +0000 (00:11 -0500)]
ntfs_apply_dentry() (IN PROGRESS)

11 years agowimlib_apply_image_to_ntfs_volume() API function
Eric Biggers [Tue, 21 Aug 2012 03:35:55 +0000 (22:35 -0500)]
wimlib_apply_image_to_ntfs_volume() API function