Commit Graph

1270 Commits (a1161d552f560b9e98c9963eb9db3fa513824f02)

Author SHA1 Message Date
szaka 813933e1bc libntfs: add ntfs_mft_usn_dec() and convert all copy-pastes to use them 2006-04-05 02:49:24 +00:00
szaka 8bbdf4f8c4 Quota attributum instantiation order change for better FORMAT conformance 2006-04-05 02:48:02 +00:00
szaka be823c7a1e libntfs: add ntfs_str2ucs and ntfs_freeucs function, and convert
copy-pastes to use them
2006-04-05 02:45:55 +00:00
szaka ce894973ed Cleanup has_bad_sectors() for code reuse; update copyrights 2006-03-30 00:15:32 +00:00
szaka 0887a0e261 Update a few copyrights 2006-03-29 22:54:22 +00:00
antona 7b5472724f fix an ommission in Szaka's cleanup. 2006-03-29 22:44:17 +00:00
szaka 3ffb67ef0f Move $ObjId/$O data dumping to its logical place, from ntfs_dump_index_key()
to ntfs_dump_index_data()
2006-03-29 22:35:54 +00:00
szaka 7a776e2810 ntfsinfo: dump either a minimal (default) or the entire attribute
header (--verbose) for all attributes types. Also removed a lot of
redundant code and made some formatting corrections.
2006-03-29 22:29:26 +00:00
antona 8bf1dc2232 Update my copyright for the files changed in the last commits. 2006-03-27 22:49:50 +00:00
antona 588ef46e86 Change ntfsinfo to dump the key data as well as the keys themselves
when dumping the $ObjId/$O index.  (Anton)
2006-03-27 22:46:13 +00:00
antona cf631e3398 Fix comparison of $MFT and $MFTMirr to not bail out when there are
unused, invalid mft records which are the same in both $MFT and
$MFTMirr.  Ported from kernel driver 2.1.27 release and aplied both
to libntfs/volume.c mount related code and to ntfsprogs/ntfsfix.c's
fixup code.  (Anton)
2006-03-27 22:43:09 +00:00
antona f4344d6261 Change utils_parse_size() to use a base of 0 instead of 10 when
calling strtoll().  This automagically allows specification of
numbers in hex (and octal if anyone is crazy enough to use that) in
addition to decimal numbers on the command line options to most if
not all utilities.  (Anton)
2006-03-27 22:39:38 +00:00
szaka b4fa78dc58 ntfsclone: the --metadata option will wipe the timestamps in the
index allocation attributes as well. This further decreases the
compressed metadata image size by 10-25% and more importantly it
eliminates non-interesting ntfscmp differences.
2006-03-27 21:40:26 +00:00
szaka ddc558f1ec libntfs: add ntfs_index_root_get() which reads the index root of an attribute 2006-03-27 21:14:56 +00:00
szaka a8e6766e43 make get_index_root() slightly sexier 2006-03-27 20:50:51 +00:00
szaka de46da8ade cleanup get_index_root() named attribute usage 2006-03-27 20:27:38 +00:00
szaka 65c67d5f84 Use more meaningful error messages 2006-03-27 20:14:22 +00:00
szaka 8d11cc8061 cleanup: use ntfs_attr_readall() 2006-03-27 20:10:39 +00:00
szaka 9b801db7c8 libntfs: add ntfs_attr_readall() which reads the entire data from an attribute 2006-03-27 20:01:36 +00:00
szaka b7aee150a4 ntfs_attr_readall(): fix ntfs_attr leaks in error cases 2006-03-27 19:33:20 +00:00
szaka d511f34dce fix attr->name_length endianess conversions: name_length is u8, not u16 2006-03-26 18:14:33 +00:00
szaka 775b208f68 ntfsinfo: fix two freed memory usage when dumping $SDS and index allocation
entries; factor out ntfs_attr_readall();
2006-03-26 16:49:42 +00:00
szaka 43f2ab6ec3 mkntfs: set the physical drive and the extended boot signature to 0x80
in the Extended BPB which are needed to boot from disk
2006-03-14 21:20:20 +00:00
szaka 6b05529c37 Show all cluster accounting mismatches when --verbose used 2006-03-13 20:41:02 +00:00
szaka 8bcd0c2fe8 Remove confusing inode enumeration messages: it just hides the valuable
info and can be get by using --verbose
2006-03-13 20:34:41 +00:00
szaka 033eaf429f identify files even if their clusters aren't set in $Bitmap (useful to
find potentially corrupted files)
2006-03-13 20:25:46 +00:00
cha0smaster 0fccdd6be5 update ntfsmount man page 2006-02-20 17:11:24 +00:00
cha0smaster a0d011018b ntfsmount: add no_detach option 2006-02-20 00:32:01 +00:00
szaka d533c39e36 Compare attribute headers as well. This nicely shows now that compression
and allocation sizes aren't set correctly for sparse files in libntfs.
2006-02-19 12:50:54 +00:00
szaka eff628922a Add a section about windows cloning 2006-02-18 20:36:33 +00:00
cha0smaster 32420ad699 implement POC of syslog logging handler, make ntfsmount to use it 2006-02-13 01:23:31 +00:00
szaka e6a7600508 Restructure "Filesystem check failed!" message and have a more explanatory
one in the ERROR line because several front-ends show only this line, nothing
else, which greatly confused many users what's going on and what to do next.
2006-02-12 22:09:58 +00:00
szaka 67f0045637 Update obsolete description 2006-02-12 02:00:45 +00:00
szaka 45b78af9b2 Update credit 2006-02-12 01:30:34 +00:00
szaka c87059fa77 Fix $BadClust:$Bad AT_ATTRIBUTE_LIST detection which bug was introduced
recently only in the CVS version of ntfsresize; add also more info about
bad sectors.
2006-02-11 19:55:05 +00:00
szaka 31cc1d2f45 Wiped timestamp data stats were off by 5% in general 2006-02-06 22:17:24 +00:00
szaka 43b4d8a4e1 --metadata sets timestamps to the Epoch time as mkntfs does with -T. This
increases the compressed image sizes by only 0.3-0.8% but ntfsclone creates
now the exact same metadata images as mkntfs, which fact can be used for QA.
2006-02-06 20:51:17 +00:00
szaka f599394450 Shorten 'ntfsprogs version @VERSION@' to only 'ntfsprogs @VERSION@' in the
headers so it won't overwrite/overlap so easily with the update time in the
center if the @VERSION@ is too long (e.g. <VERSION>-WIP-<DATE>-<TIME>)
2006-02-06 01:05:01 +00:00
szaka 1e05dd5d9a Note tar brokenness, update examples 2006-02-06 00:48:23 +00:00
szaka fae8feea65 Explain dirty volume 2006-02-05 22:10:01 +00:00
szaka 16b8bc1fd4 Write MFT records with the same USN during metadata cloning. This eases
ntfsclone self-regression, which itself is going to validate other codes
2006-02-05 19:35:20 +00:00
szaka 31fac08864 Dump MFT Record Header fields which weren't yet 2006-02-05 18:56:04 +00:00
szaka fefc3e5195 ntfsresize, ntfsclone: always use MS_NOATIME 2006-02-05 16:39:35 +00:00
szaka c0e5461995 Credit Erik Sornes for implementing NTFS 3.x version support for mkntfs 2006-02-04 23:21:48 +00:00
szaka a8a29084b5 Remove old, redundant g_mft_size calculation 2006-02-04 19:53:22 +00:00
szaka 9d51139377 Fix typo 2006-02-04 13:39:19 +00:00
szaka c47236819d Explain EBUSY if volume opening failed 2006-02-04 13:34:37 +00:00
antona ca37cdb7f8 Don't do it at the end and do it as we go along instead as I am already doing
in the kernel driver.
2006-02-04 06:11:28 +00:00
antona cd948e75c0 Fix upcase table to be little endian. With this bug fixed the volumes produced
by mkntfs on little and big endian machines are identical (except for the
volume serial number - probably ought to standardize that when using the -T
switch).
2006-02-04 06:06:04 +00:00
antona 952d221711 Tons of bug fixes to mkntfs. 2006-02-04 05:42:59 +00:00
antona 584ca613ef Fix a Linux warning after a fix for OSX. 2006-02-03 23:52:55 +00:00
antona 4d64cb21e7 Fixes for OSX. 2006-02-03 23:40:39 +00:00
antona 3dc68c0602 Fix a warning. 2006-02-03 23:25:24 +00:00
antona 135282539b Fixes to previous commit. 2006-02-03 23:11:35 +00:00
antona af9fd39611 Wheee! Lots of last minute fixes and enhancements.
- Compiler warning fixes for gnome-vfs and fuse modules. (Anton)
- Change volume mounting (actually device opening) to happen with
  O_EXCL bit set so at least on Linux no one can change the device
  block size under our feet.  (Anton)
- Change volume mounting and mkntfs to set the device block size to the
  sector size using BLKBSZSET ioctl (Linux only).  This should be
  optimal for performance and should fixes the bug of not being able to
  create the backup boot sector if the number of sectors on the device
  is odd, the sector size is 512 bytes, and the kernel is 2.4.  (Anton)
- Enforce cluster size, mft record size, and index record size to be at
  least equal to the sector size and verify they are still valid and in
  particular display a warning message if the volume will not be
  mountable by the kernel driver (it requires mft record size and index
  record size to be below or equal to the system page size which we
  determine using sysconf()).  (Anton)
2006-02-03 22:19:17 +00:00
szaka e57cc4521a Add CHKDSK_UNDERWAY to ntfsinfo 2006-02-03 18:44:13 +00:00
antona e236c14c4a Prepare for next release. 2006-02-02 14:40:53 +00:00
cha0smaster ad13b78697 ntfsmount: fix 25 API compatibility 2006-02-01 23:55:07 +00:00
cha0smaster c11567824a ntfsmount: fix ls output in case some files can not be accessed due to windows named data streams accees interface 2006-02-01 18:24:58 +00:00
cha0smaster 63f5ddb8c2 ntfsmount:
Support FUSE versions from 2.3.0 to 2.5.1 under Linux and 2.5.X under FreeBSD.
Warning tested only under FUSE-2.4.1. Will test under FUSE-2.5.1 at home.
2006-02-01 17:37:34 +00:00
cha0smaster ead758ed7c ntfsmount: Rename "succeed_chmod" -> "silent". Do not return error on chown too. 2006-01-30 21:53:42 +00:00
szaka 0130863e72 Improved dumping SDS entries: stop at bogus values instead of crashing and
don't stop at empty entries
2006-01-29 01:24:24 +00:00
cha0smaster 8410f3b00b minor change 2006-01-25 23:36:09 +00:00
cha0smaster c66e272987 update about direct_io 2006-01-24 16:57:47 +00:00
szaka 6616612ea6 Set the size of the $SECURITY_DESCRIPTOR of the root directory appropriately
and as 'format' also does (the extra space was unused garbage)
2006-01-15 12:55:04 +00:00
szaka 53883b3fde Fix off-by-one in ACL dumping, one ACE was missed 2006-01-14 00:54:51 +00:00
szaka 6f05bf0407 Refer by the sort URL to the manual pages 2006-01-08 21:01:23 +00:00
szaka 35aa4a725b Fix URL to the manual pages on the web 2006-01-08 20:57:00 +00:00
szaka a88f330d2b Fix some typos 2006-01-08 15:12:19 +00:00
szaka dc22f3e142 Adjust $LogFile size for 3.1 volumes which got much bigger (the small
$LogFile became a performance bootleneck for the increasingly faster disks)
2006-01-08 14:54:55 +00:00
szaka 6b36031ff4 More manual reverts, updates 2006-01-07 22:21:25 +00:00
szaka 68290078e1 Revert to the unambiguous update dates for all manual pages 2006-01-07 18:41:38 +00:00
szaka 67c087d77f Version 3.0 isn't supported (wasn't checked) 2006-01-07 15:30:19 +00:00
szaka 98c16f8ae0 Change the NTFS version short option from the cryptic -w to -N 2006-01-07 09:29:29 +00:00
szaka 283db0a99e Don't create SDS entries which aren't needed 2006-01-07 08:31:09 +00:00
szaka a79dc381b7 ntfsinfo: dump $Secure:$SDS in verbose mode 2006-01-07 08:20:33 +00:00
szaka d003694463 Fix more formatting broken by somebody's "cleanup" 2006-01-07 06:26:43 +00:00
cha0smaster eba747ac93 * Add NTFS_DEV_LIST define. Use it everywhere instead of linux-ntfs-dev@lists.sf.net.
* Replace all ntfs_log_trace where we ask to send mail to us with ntfs_log_error
2005-12-18 16:27:20 +00:00
szaka 58e93f46e0 Restore more formatting, etc issues broken by white space, etc cleanups 2005-12-07 21:52:46 +00:00
szaka ca689776fa Fix --info option description which got broken by a white space cleanup 2005-12-07 21:04:37 +00:00
cha0smaster de23d9f540 determine to where pass kernel_cache option without #if's 2005-12-03 16:40:20 +00:00
cha0smaster e47ed2e413 more warning fixes 2005-12-02 17:09:41 +00:00
cha0smaster 96e6c64860 fix error message 2005-12-01 20:46:03 +00:00
cha0smaster 01787c8c54 update site 2005-12-01 20:44:18 +00:00
cha0smaster d4872f5045 ntfsmount: Mount point is optional parameter 2005-12-01 13:15:49 +00:00
cha0smaster 77fb717ef3 Fix warnings on FreeBSD 2005-11-30 16:58:03 +00:00
cha0smaster 3001c88d64 Easier FreeBSD support, allow FUSE >= 2.3 for FreeBSD 2005-11-30 16:54:11 +00:00
cha0smaster bb864c9f98 update 2005-11-29 18:03:28 +00:00
cha0smaster 172a8bbe4f oops, should do FUSE_USE_VERSION magic before including <fuse.h> 2005-11-29 18:00:06 +00:00
cha0smaster c705170a5f ntfsmount: Add FreeBSD support. 2005-11-29 17:57:53 +00:00
cha0smaster 8298b35bc8 use ntfstime.h instead of time.h 2005-11-27 16:50:45 +00:00
cha0smaster 8afff2c7e2 minor fix to usage output 2005-11-27 15:26:39 +00:00
cha0smaster 1a6c6417d9 improve readability 2005-11-27 15:26:02 +00:00
szaka 22ff6e8c41 remove old, unused logging macros 2005-11-27 12:35:29 +00:00
szaka c940df9079 remove usage of old logging macros 2005-11-27 12:31:39 +00:00
szaka f827828d5c All errors go to stdout either directly or by redirection from stderr 2005-11-27 11:51:10 +00:00
szaka 93fabaf0c4 Removed usage of the old logging macros 2005-11-27 11:38:06 +00:00
flatcap 71c5c068b5 use the new logging
add a few function comments (to help folding)
2005-11-26 23:53:22 +00:00
szaka f1a50e9bd8 Removed old logging macro usage 2005-11-26 17:58:17 +00:00
szaka 7e9f1270e2 clean up 2005-11-26 01:46:20 +00:00
cha0smaster 25c31eb40b ntfsmount: add static inline to mark free space outdated (Thanks Szaka) 2005-11-25 14:31:29 +00:00
cha0smaster e0787d0983 ntfsmount: Mark information about free MFT records and clusters outdate after write operations everywhere. 2005-11-24 15:06:11 +00:00
flatcap 493b3a6bcd minor corrections 2005-11-22 01:14:36 +00:00
flatcap c7c229bd15 more minor manual mending 2005-11-22 00:17:23 +00:00
flatcap af6f7606e4 tidy evil roff usage
add/document missing options
add missing authors
standardise program usage()
standardise options look
update download and contact details
2005-11-21 21:25:14 +00:00
flatcap abf0cfba5d use new logging 2005-11-20 14:15:33 +00:00
flatcap 14821aa976 remove my temporaray code/comments 2005-11-20 11:21:54 +00:00
szaka d7f102b670 fix typo 2005-11-20 00:18:09 +00:00
szaka 927cd331d8 Create files with sequence numbers starting from 1 in $Extend (part 2) 2005-11-20 00:06:11 +00:00
flatcap 68a9bdd3a2 every function returns 2005-11-19 16:54:28 +00:00
flatcap 03fa945ee0 banish the e-word 2005-11-19 16:44:36 +00:00
flatcap 80a2ddee09 moved ioctl to device.c
remove g_volume_size (unnecessary)
Reworked mkntfs_override_phys_params:
  Split up complicated error expressions
  Made error messages more legible
  Demoted some errors to warnings
  Factored out the "Windows won't boot" message
2005-11-19 14:56:24 +00:00
szaka e90fdddc08 - added INDEX_ATTR_DIRECTORY_I30 timestamps dumping
- ntfs_dump_index_entries(): reformatted switch to fit the used code style
- ntfs_dump_index_entries(): removed redundant opts.verbose check
- whitespace cleanup
2005-11-18 00:29:36 +00:00
szaka 3db9973bcf ntfsclone: --metadata also wipes out the timestamps in the $I30 and
in the /$Extend/$Quota:$Q index root attributes
2005-11-18 00:24:45 +00:00
szaka d311052205 Create files with sequence numbers starting from 1 in $Extend 2005-11-18 00:14:05 +00:00
szaka e4cb2b5a4e - switched all calloc() calls to ntfs_calloc()
- fixed all missing ntfs_calloc() error checking
2005-11-16 22:07:48 +00:00
szaka 1e14b996c0 - fixed -T/--zero-time for 3.x volumes
- reordered initialization of $Quota indexes
- added ntfs_calloc()
- fixed all missing memory allocation error handlings in initialize_quota()
2005-11-16 21:36:20 +00:00
cha0smaster f7b087b07d it seems that atime updates in fuse a broken, handle them ourselves 2005-11-16 17:09:12 +00:00
flatcap 418da4bd4b it came from space (and ate my brackets) 2005-11-16 02:58:49 +00:00
flatcap 354c6442a9 a handful more of subjective cleanups 2005-11-16 02:55:16 +00:00
szaka 1b856b5451 Dump $Secure $SDH and $SII, $Quota $O and $R index attribute data;
Fix printf field width specifiers
2005-11-16 00:13:10 +00:00
cha0smaster 5266967632 ntfsmount: pass MS_NOATIME flag to ntfs_mount, let VFS care about access time. 2005-11-15 16:41:39 +00:00
flatcap 56c8393be0 fix memleak in create_hardlink_res
transfer ownership of attrdef and vol_name to the volume
2005-11-15 16:24:23 +00:00
flatcap fd63d57947 *ahem* zero isn't true 2005-11-15 14:48:10 +00:00
flatcap 03e481e349 tidy 8 variables whose scope was quite limited 2005-11-15 04:14:37 +00:00
szaka 025768668b Pad QUOTA_O_INDEX_DATA with the magic 32 value. 2005-11-15 01:02:12 +00:00
cha0smaster 0e808deef1 * update ntfsmount to new logging, remove all #ifdef #DEBUG, add debug option
* ntfsmount: enable kernel_cache for fuse >= 2.4.0 by default
* ntfscp fix style in code introduced by Rich
2005-11-14 12:19:39 +00:00
szaka f7f2bf570d initialize_secure(): fix segfault when non-allocated objects were referenced
(thanks to ef)
2005-11-13 22:40:19 +00:00
szaka 2db620bda1 ntfsclone: check the available free space for --save-image too 2005-11-13 21:48:35 +00:00
szaka 7b6a5ef21d Fix fs creation with 32 and 64 kB cluster size; also if only one cluster
contains all system files then fill the rest of it with empty, formatted
records as 'format' also does
2005-11-13 20:04:29 +00:00
szaka 3e459eb923 mkntfs: fix segfault when volume has more than 2^31 clusters 2005-11-13 02:38:17 +00:00
szaka f480d3f8ad Log also what actually fails, not only the reason 2005-11-12 20:52:38 +00:00
szaka 7b68432c72 Name consistently the same $SDS, $SDH and $SII fields 2005-11-12 15:35:51 +00:00
szaka fc103ec4b0 output cosmetic change; explicit check for /$Extend/$ObjId in get_index_attr_type() 2005-11-12 12:59:20 +00:00
uvman 4137f63c7a Report the MFT record flags properly in ntfsinfo. 2005-11-11 23:55:14 +00:00
uvman 0d651e54d3 Give a better name to MFT_RECORD_IS_8 and rename FILE_ATTR_DUP_* to match this meaning. 2005-11-11 23:35:56 +00:00
cha0smaster 3c2c988f96 That was ntfsmount bug with '.' and '..', no need for a workaround. 2005-11-10 21:26:41 +00:00
szaka 77a5597521 Restore correct V3.1 $AttrDef creation which got last by the recent command
line parsing rewrite. Thanks to ntfscmp for catching this! :)
2005-11-10 20:54:00 +00:00
szaka c832d4b2e2 remove ObjectID creation and all related code: ObjectID's are created and
managed based on (mostly) DLT Service requests, format doesn't care about them
2005-11-10 20:24:07 +00:00
cha0smaster 4652ad72c6 * implement symblic link creation in ntfs_create
* rename ntfs_create -> __ntfs_create. add wrapers ntfs_create{_symlink,_device}
* ntfsmount: implement .symlink
* ntfsmount: fix readdir to emulate . and .. when needed
2005-11-10 18:13:15 +00:00
flatcap f45436a9df send progress bar to the progress log (quietable by --quiet) 2005-11-10 05:28:33 +00:00
flatcap 247753251d quiet, verbose, debug don't need to be options
num_clusters, index_block_size, attr_defs(_len) moved to volume
2005-11-10 05:13:57 +00:00
flatcap 1b55906132 -u now just means undelete
-i, --inodes takes a range of inodes to be recovered
remove interactive option (it wasn't implemented)
2005-11-10 03:20:47 +00:00
flatcap 6e9be81f55 -u now just means undelete
-i, --inodes takes a range of inodes to be recovered
tidy usage
remove interactive option (it wasn't implemented)
2005-11-10 03:20:27 +00:00
cha0smaster 1254b2951c Fix stupidness introduced in latest changesets. Thanks to Yuval for comments. 2005-11-08 19:49:52 +00:00
cha0smaster 2c3dfcba27 Teech ntfs_create() to create Interix charcter and block devices. Add @dev parameter to ntfs_create() for this. 2005-11-08 16:13:17 +00:00
cha0smaster 53446b07f8 - Change @type parameter for ntfs_create() to be dev_t rather than internal NTFS_DT_* constants.
- Teech ntfs_create() to create FIFOs and sockets.
2005-11-08 15:15:37 +00:00
szaka c1fb378985 VIEW_INDEX is also present in $STANDARD_INFORMATION 2005-11-07 22:28:46 +00:00
szaka caa0bf5c4b metadata cloning: wipe metadata timestamps too 2005-11-07 21:38:58 +00:00
szaka da654b4207 shortened opt.metadata_only to opt.metadata 2005-11-07 21:13:31 +00:00
szaka 594c23aff0 ntfsclone: check available free space on the destination 2005-11-07 20:49:18 +00:00
cha0smaster a732881c5e see changelog 2005-11-07 20:37:07 +00:00
flatcap 23a84fe825 use ntfs_mbstoucs and ntfs_ucstombs (library) instead of stoucs and ucstos (local)
fix a few latent bugs where unicode string lengths were handled
2005-11-07 04:53:28 +00:00
flatcap 2a2ecd2abd parse_options - make sure it always spots missing options
fix mem leak in upgrade_to_large_index
fix bug - srandom called before options parsed
start separating user-type things from lib-type things
(e-22)
2005-11-06 21:40:26 +00:00
flatcap d605234a3a document new options 2005-11-06 21:26:23 +00:00
uvman a0665cf5bd Add myself to the copyright list on ntfsinfo.c 2005-11-06 14:18:12 +00:00
flatcap ef9d593949 replace the command line parsing
mkntfs now supports long options
(e-11)
2005-11-06 02:19:19 +00:00
cha0smaster 300f86ac21 * layout.h: update about special INTX files.
* ntfsmount: implement readlink() and add support of symlinks, charcter and block devices to stat().
2005-11-05 22:54:43 +00:00
flatcap de5de5a9c3 global variables don't belong in opts
highlight the global nature of the variables in their name
2005-11-05 06:11:42 +00:00
flatcap 559d3c54e4 more tidying 2005-11-05 05:03:05 +00:00
flatcap 0efe6a43f1 use new logging (not completely finished)
much code tidying
2005-11-05 01:41:39 +00:00
szaka 5660554d88 Set the the same $STANDARD_INFORMATION flags as format for NTFS 3.1 does 2005-11-03 21:56:52 +00:00
szaka 44b2d2333c Dump $Quota:$O key SID according to the standard textual representation 2005-11-03 01:43:27 +00:00
szaka e71ca132c5 Create files in $Extend in the same order as 'format' does. This shouldn't
actually matter but it makes ntfscmp happier and helps great deal to catch
easily incorrectly created volumes.
2005-11-02 23:14:39 +00:00
szaka c4d66f6c8b Don't create 'System Volume Information'. This is never created by format,
it's either a side-effect of Distributed Link Tracking Client Service,
System Recovery Service, Index Service, WinFS, etc.
2005-11-02 21:03:29 +00:00
szaka 0ffab99a56 mkntfs: don't fill the last $MFT cluster with empty MFT records.
This is needed to conform to Windows' format behavior for NTFS v3.1
2005-11-02 20:47:19 +00:00
flatcap b2606af8ab a few typos 2005-11-02 18:06:48 +00:00
flatcap 83b9eddfc9 provide some meaningful function descriptions 2005-11-02 17:34:08 +00:00
szaka 8cfde9cdfd Fix $Quota::$O key sub authority dumping; dump authorities in hexa 2005-11-01 23:14:34 +00:00
szaka c10f046225 simplified ntfs_generate_guid() 2005-11-01 21:09:52 +00:00
szaka 987f33e5df ntfs_ prefix generate_guid() 2005-11-01 20:24:37 +00:00
szaka b82289f526 fix casting to quota's owner_id 2005-11-01 20:19:32 +00:00
szaka 80923d64dd Fix type of reserved_II in SDH_INDEX_DATA; resolve some magic constants 2005-11-01 19:56:08 +00:00
szaka 9f4b2b4a2c Fix NTFS version 3.x index entries creation. Everybody is MUCH happier now!
Erik got this right in his patch, it got non-functional due to libntfs changes.
2005-11-01 00:12:08 +00:00
szaka c47717581a dump index attribute keys 2005-10-30 23:31:44 +00:00
szaka 370bea1395 ntfsinfo: figure out and dump index attribute types 2005-10-30 22:53:38 +00:00
szaka ae42186cf5 utils_inode_get_name(): fix return value in case of success (the function
always returned with failure beforehand)
2005-10-30 22:41:20 +00:00
flatcap 2a8ae5c3fb upgrade to use new logging
change stderror messages to ntfs_log_perror
2005-10-29 01:05:11 +00:00
flatcap 4e6dd9b97b upgrade to use new logging
change stderror messages to ntfs_log_perror
2005-10-29 00:08:43 +00:00
cha0smaster 9d92722737 Rest fixes from A Costa 2005-10-28 19:00:14 +00:00
flatcap aa3807bc27 upgrade to use new logging
(all logging to stderr)
2005-10-28 18:59:29 +00:00
flatcap a009bf0b5a perror -> ntfs_log_perror 2005-10-28 18:57:06 +00:00
flatcap 9cf4759476 upgrade to use new logging 2005-10-28 18:39:52 +00:00
flatcap 325ab7c64d mistake parsing quiet 2005-10-28 18:26:49 +00:00
flatcap 8a363705cd upgrade to use new logging
change stderror messages to ntfs_log_perror
2005-10-28 18:23:32 +00:00
flatcap 7960f45998 upgrade to use new logging
change stderror messages to ntfs_log_perror
2005-10-28 18:15:24 +00:00
szaka d5a925b3bf ntfsinfo and ntfsls follow the convention how other utilities read
the device argument: no -d or --device option is needed
2005-10-28 18:00:44 +00:00
flatcap 755ef674e8 upgrade to use new logging
change stderror messages to ntfs_log_perror
note: since the logging changes to utils.c, the --quiet option doesn't do anything
2005-10-28 16:47:41 +00:00
cha0smaster 4b81ab7e3b Add 'xattr' named data streams access interface. 2005-10-28 16:06:04 +00:00
szaka 7ae3cd3e82 Fix two more typos (A. Costa) 2005-10-28 15:14:49 +00:00
uvman 56f119b245 Surround error-prone macros with parentheses 2005-10-28 13:00:48 +00:00
uvman 5b949d07fa Fix comment formats. 2005-10-28 12:55:41 +00:00
uvman 8f43f0ef4c Match parameter names between .h and .c files 2005-10-28 12:47:49 +00:00
cha0smaster 0b55f323c2 spelling fixes from debian 2005-10-28 09:43:47 +00:00
flatcap 59ce9b4285 remove old logging macros
add more traces
2005-10-28 04:47:52 +00:00
flatcap 8aa6d76741 more evil spaces 2005-10-28 04:41:54 +00:00
flatcap ec842e871a remove some old defines 2005-10-28 04:41:39 +00:00
flatcap 8892ba7ac6 remove some colour hacks
remove a few #ifdef DEBUGs and RM_WRITEs
throw in lots of extra traces
2005-10-28 04:32:21 +00:00
flatcap 16dd9defa5 email typo 2005-10-28 04:31:45 +00:00
antona fa2217bafa Minor todying. 2005-10-27 21:55:59 +00:00
antona 0e4a1ca252 Fix ntfsdecrypt endianness bugs thus it now works on OSX running on
a dual G5!  (Anton)
2005-10-27 21:46:00 +00:00
cha0smaster 1ce16eddb7 minor cleanup 2005-10-27 20:42:10 +00:00
szaka 8b1263c217 Working with regular files needs no longer --force, except for mkntfs 2005-10-27 18:45:45 +00:00
cha0smaster 01585fd7cd Always pass "use_ino" to fuse_new, since it's ok to have several files with sameinode number. 2005-10-27 13:01:58 +00:00
cha0smaster 9fb63e797e Pass use_ino to fuse_new if named data streams access is not 'windows'. 2005-10-27 11:37:49 +00:00
flatcap 8a584700c5 whitespace fixes - no code changes 2005-10-26 22:54:57 +00:00
flatcap 1ee8d8b9e2 restore call to ntfs_set_locale
(utils only uses stderr, now)
2005-10-26 20:48:38 +00:00
flatcap 5bd198d66e logging renames
utils only uses stderr, now
whitespace fixes
2005-10-26 20:48:00 +00:00
flatcap a244edbe1c tidy up
wrap lines
2005-10-26 20:47:14 +00:00
flatcap 1f68df3f69 shorten ntfs_logging_* to ntfs_log_* 2005-10-26 20:46:37 +00:00
antona 98e5cda13e Add some debugging to ntfsdecrypt.c to allow printing of the private
key after it is decrypted (this is ifdeffed out by default).  (Anton)
2005-10-25 22:12:25 +00:00
uvman 0dd0cdc6be Remove {Dputs, Dprintf, Dperror} and convert callers to ntfs_log_*. Make ntfsinfo use ntfs_logging_parse_option(). 2005-10-25 01:28:10 +00:00
szaka f9cdaed3db temporary fix for the corrupted stdout due to the recent logging changes 2005-10-24 21:20:10 +00:00
szaka 746dff1a24 NTFS_INDEX_ prefix $I30, $SII, $SDH, $O and $Q indexes 2005-10-23 18:35:58 +00:00
szaka 9be56ad848 ntfscat can display named attributes, streams too 2005-10-23 14:00:37 +00:00
cha0smaster 8980ec6d76 ntfsmount: Add 'streams_interface=' option to select named data streams access interface. Currently supported interfaces are 'none' and 'windows'. 2005-10-23 11:54:00 +00:00
szaka dd3ce28cd2 Factor out fix_mount() and fix_mftmirr() from main()
Avoid freeing NULL's to end non-constuctive discussion about its usage
2005-10-22 19:54:01 +00:00
flatcap 0c2247c7ca new header files to tidy build process 2005-10-21 18:08:28 +00:00
flatcap f4e427e91a implement logging in libntfs
fix whitespace
fix build problems
tidy source code
and more...
2005-10-21 18:05:13 +00:00
cha0smaster 8c53ea8d4f *** empty log message *** 2005-10-20 15:38:21 +00:00
flatcap a2c8e7befe fix a few build warnings 2005-10-20 13:49:56 +00:00
szaka 24cb1ec6e8 fix warnings 2005-10-19 22:10:57 +00:00
szaka 8f03f5a6ca Optionally create NTFS version 3.0 (W2K) or 3.1 (XP, W2K3, Vista).
Contributed by Erik Sornes. No side-effect for v1.2 NTFS which is still
the default. The implementation needs some minor work: see e.g. the chkdsk
messages and the result of ntfscmp'ing the two images.
2005-10-19 22:04:46 +00:00
cha0smaster fe408380c7 typo fix 2005-10-17 20:21:22 +00:00
flatcap ea2c4c6c61 fix build warning - duplicate definition 2005-10-17 14:07:28 +00:00
flatcap 2a8d602d9f ntfsrm has been split up and merged into libntfs.
currently it's #ifdef'd out.
tree.c - code for handling directory trees
rich.c - a few helpers without a home (this file will go away soon)
Note: ntfsrm isn't in the build any more (you need to ./configure --enable-rich; make extras).  When rm is less intrusive, again, I'll put it back in the build.
2005-10-16 23:33:03 +00:00
flatcap 139f6c6603 prevent a few name clashes with the new rm code 2005-10-16 22:37:48 +00:00
flatcap 2436151e59 fix warning (uninitialised variable) 2005-10-16 21:37:12 +00:00
flatcap 8fa46025d5 trailing whitespace 2005-10-16 19:21:47 +00:00
szaka 27a9764d3a Check and report bad sectors before cluster allocation check because
chkdsk doesn't always fix $Bitmap with bad sectors
2005-10-16 18:50:56 +00:00
szaka 48feb16fa9 Factor out cluster allocation check 2005-10-16 11:12:08 +00:00
antona 85c866fcea More endianness fixes! 2005-10-15 23:51:13 +00:00
antona 6803fa4b76 Fix endianness bug in ntfsinfo. (Anton) 2005-10-15 23:44:57 +00:00
antona 1d4958d38c Fix endianness bug (le16 instead of le32 when accessing mft record
bytes_in_use) in volume.c::ntfs_volume_write_flags() and
ntfsfix.c::OLD_ntfs_volume_set_flags().  (Anton)
2005-10-15 23:13:49 +00:00
antona 3adf923766 Fix compilation and warnings in ntfsdecrypt.c on OSX/gcc4.0.1. The
compilation failure was because we use strnlen() which is gnu
specific and not present on my current version of OSX so ntfsdecrypt
now provides own version if it is not present on system.  (Anton)
2005-10-15 22:30:20 +00:00
antona da1495a11d Fix compilation on OSX in ntfscmp.c where stderr = stdout is not legal (but
happens to work on Linux) to do portable low-level file descriptor mangling.
2005-10-15 21:48:37 +00:00
antona f5961c075e - Fix compilation on OSX in ntfsclone.c where stderr = stdout
is not legal (but happens to work on Linux) to do proper
  low-level file descriptor mangling which is portable.  (Anton)
- Add test/runlist-data to EXTRA_DIST so it gets included in the
  distribution otherwise make test fails on released sources.  Solution
  is not perfect as it also adds the test/runlist-data/CVS directory
  but it will do at least for me.  (Anton)
2005-10-15 21:44:17 +00:00
antona b9422552da Fix compilation on OSX in ntfsresize.c where stderr = stdout is not
legal (but happens to work on Linux) to do proper low-level file
descriptor mangling which is portable.  (Anton)
2005-10-15 21:26:16 +00:00
flatcap 42de4cf905 tidy up some __attribute__ usage 2005-10-12 11:52:40 +00:00
flatcap e44bb7afb7 fix build bug - wouldn't build without DEBUG defined 2005-10-11 23:09:07 +00:00
antona a40d7e55d6 - Revert patch from Christophe applied by Yura.
- Provide a realpath() alternative for systems which do not have it.
  This is _much_ nicer as it avoids the horrible #ifdef gunk in the code...
2005-10-10 12:55:11 +00:00
cha0smaster bf91f7c0fc Apply patch from Christophe. 2005-10-10 11:04:56 +00:00
szaka 9e589a7bce Fix some corner cases and all memory leaks; handle corrupt NTFS more gracefully 2005-10-09 12:53:44 +00:00
antona cc57c76cd5 Move mount.ntfs-fuse and mkfs.ntfs to be symlinks instead of
hardlinks and move both to /sbin rather than prefix/sbin.  Note we
still obey $destdir so building packages works as well as installing
into alternate chroot / other system still works.
2005-10-07 23:01:23 +00:00
antona 4c3687fc64 Fix hardcoded location for hardlink on uninstall. (Anton, Szaka) 2005-10-07 15:52:29 +00:00
cha0smaster 8854585270 oops, fix previous fix 2005-10-07 15:15:13 +00:00
cha0smaster 093431f2f7 revert 1.49, mount.ntfs-fuse should be in /sbin, not /usr/sbin or /usr/local/sbin 2005-10-07 15:13:10 +00:00
antona 0377e979d0 Various fixes before release. 2005-10-07 15:02:15 +00:00
antona 0c293d0407 - Add API (actually renamed from what Rich/FlatCap did):
volume.[hc]::ntfs_libntfs_version() which returns a pointer to a
  static const string of the libntfs verion, i.e. at the moment this is
  "8.0.0".  This required moving the version specifications from
  libntfs/Makefile.am to configure.ac.  This should hopefully have the
  sideeffect that I will remember to increment it when incrementing the
  ntfsprogs version number when making a release given the two are
  right under one another.  (Anton)
- Change ALL utilities to display the libntfs version they are running
  on.  This should make debugging easier in the case that people are
  running mismatched utilities/library.  (Anton)
2005-10-07 14:10:56 +00:00
cha0smaster 3814896a5b fix compiler warning 2005-10-07 13:26:44 +00:00
antona 3d46df6b4a Prepare for 1.12.0 release. 2005-10-07 12:52:52 +00:00
antona 31ee9de6ac Fix stupid bug in mkntfs which caused it to fail even though only the
backup boot sector could not be written because a 2.4 kernel is used
and the partition has an odd number of sectors.  (Anton)
2005-10-07 12:21:32 +00:00
szaka ae276bbfe1 Fix 'make install' and 'make uninstall' if FUSE isn't enabled 2005-10-05 20:11:23 +00:00
antona 95ab175a92 revert manual to say that the volume is marked dirty. Anton 2005-10-05 13:32:39 +00:00
antona aa7e3cc98e return volume set dirty functionality to ntfsfix on Yura's request. Anton 2005-10-05 13:01:10 +00:00
cha0smaster ce52b49c36 Minor man pages updates 2005-10-05 11:14:30 +00:00
szaka 4f74c30984 Revert to the original output but by also fixing the "format string" warnings 2005-10-04 22:03:13 +00:00
cha0smaster ecc920583e revert utils.c revision 1.46, because it breaks ntfsmount output 2005-10-04 21:42:07 +00:00
uvman 62579b84d4 compiler warnings fixes. 2005-10-04 20:36:42 +00:00
cha0smaster fa46de6b6f accept noauto mount option for better support mounting via fstab 2005-10-04 20:00:22 +00:00
cha0smaster cc9bc93221 * change interface: ntfsmount device mnt_point -o opts
* hardlink ntfsmount to /sbin/mount.ntfs-fuse, thus volume can be mounted via fstab without any helpers
* update man page for ntfsmount
2005-10-03 21:07:24 +00:00
cha0smaster 96f31a07ed Add locale options to ntfsmount. 2005-10-03 19:48:54 +00:00
cha0smaster f292546aed EPERM is returned if windows was hibernated 2005-10-01 00:42:11 +00:00
szaka 54891f3112 Emphasize Windows needs to be rebooted twice after chkdsk /f 2005-09-30 20:29:58 +00:00
szaka 39403911a4 Clarify --force usage 2005-09-30 19:51:12 +00:00
szaka d07aab11f5 Update unclean_journal_msg 2005-09-30 19:46:45 +00:00
antona 813354f56d Add missing options to mkntfs' getopt() parsing string. (What a silly bug!)
Fix a compile warning in ntfscmp.
2005-09-30 19:24:13 +00:00
flatcap 519d68eb53 remove some junk 2005-09-30 16:58:20 +00:00
szaka ab2ad80ae7 Accept incorrect $Bitmap size if it covers the entire volume 2005-09-29 23:30:15 +00:00
flatcap 9ee916bbd0 need config.h for the autoconf #ifdefs 2005-09-29 12:50:39 +00:00
antona 8db479a6b1 Patch from Christophe:
A lot of headers are checked by autoconf (AC_CHECK_HEADERS in configure.ac).
Please find a patch that add the missing "#ifdef" to the source code.
2005-09-28 13:47:47 +00:00
flatcap 2aa1cfe3d9 fix a build warning 2005-09-27 15:25:19 +00:00
szaka 431258997d Fix saving by sectors during --rescue 2005-09-25 21:42:47 +00:00
szaka a0338ab9b2 Fix uninteded output and typo 2005-09-25 19:35:56 +00:00
szaka 660b44f3ed Fix --enable-really-statici: mkntfs redefined ntfs_attr_put_search_ctx() 2005-09-25 19:22:11 +00:00
cha0smaster 8afb8a0daa minor cleanup 2005-09-25 11:42:26 +00:00
szaka 44e60c37c4 Fix 'make extra' (ntfsmove) compilation 2005-09-24 23:46:54 +00:00
antona 2a104d8eda Megapatch!!! Check evecrything!!! I probably broke everything!!! 2005-09-24 22:54:55 +00:00
szaka 99e18269b7 Hint user the --rescue option if they have bad sectors 2005-09-24 21:36:51 +00:00
szaka eb51c61ba4 Emphasize that disk partitioning must use sector as the unit instead of
cylinder to avoid shifting of the partition
2005-09-24 20:12:36 +00:00
cha0smaster 53ffb79352 fix potential bug 2005-09-24 17:06:35 +00:00
cha0smaster cba53f8895 * ntfsmount: implement rename
* update man page for ntfsmount
2005-09-24 16:19:29 +00:00
cha0smaster 464eab4178 add ntfs_link, update ntfsmount to use it 2005-09-24 15:20:49 +00:00
cha0smaster c9294cb701 Remove 'use_ino' because I'm afraid I can not use it with "file:stream" nammed data stream access interface. :-( 2005-09-24 13:05:36 +00:00
szaka 192348fa0a ntfsclone manual: update --ignore-fs-check option description 2005-09-20 16:24:26 +00:00
flatcap 7f8ad30c09 more code juggling
try and sort out transfer
2005-09-20 00:05:49 +00:00
cha0smaster 94be253f74 minor ntfsmount cleanup 2005-09-16 14:30:08 +00:00
cha0smaster 3629d931c6 Fix resident attribute adding: Add @val to ntfs_attr_add and @val and @size to ntfs_resident_attr_record_add.
Still need to fix attribute lis entry adding. :-(
2005-09-16 14:28:18 +00:00
antona ea0202921d Clarify the logfile check/hibernation warning. (Yuval) 2005-09-10 07:55:58 +00:00
cha0smaster 3164c705f7 ntfsmount: Apply patch from Yuval to fix 'df' output. 2005-08-31 14:31:53 +00:00
cha0smaster f80efa5e9a Make ntfsdecrypt compile. 2005-08-26 12:25:13 +00:00
cha0smaster 14702e50f2 ntfsmount: Aplly patch from Yuval with minor fixes to it.
Temporary remove kernel_cache from default options.
2005-08-26 12:23:00 +00:00
antona 190e59886f Define PATH_MAX if not defined in ntfsprogs/ntfsmount.c and
libntfs/volume.c.  Needed to compile on DOS with djgpp.  (Christophe)
2005-08-26 11:44:11 +00:00
szaka 605726b340 ntfscmp: new util for development, debugging, testing, etc. 2005-08-25 20:42:54 +00:00
cha0smaster 0835682401 refix previous fix to man page :) 2005-08-23 12:38:37 +00:00
cha0smaster 1ed76a2d3e small fix to ntfsmount man page 2005-08-23 12:07:26 +00:00
cha0smaster 6f8cd6e5ef Cleanups and memleak fix to error code paths of ntfs_create. 2005-08-22 21:33:07 +00:00
szaka dc284e1e10 Fix gigaleak in ntfscluster, utils.c::mft_next_record() 2005-08-21 09:46:29 +00:00
szaka d29a3e9b97 Fix incorrect volume usage calculation 2005-08-21 00:50:14 +00:00
flatcap fa99ae3d0f more housekeeping - no code changes 2005-08-17 15:59:27 +00:00
flatcap 96e1f45319 housekeeping - no code changes 2005-08-17 14:53:07 +00:00
flatcap db1e9afb1f create an index alloc (needs work) 2005-08-17 14:33:16 +00:00
flatcap 49a4f377f3 fix up dt root add 2005-08-16 13:33:12 +00:00
flatcap b312a44483 change utils_dump_mem to take a void ptr
update the comments a bit
2005-08-16 13:25:15 +00:00
szaka 6d7ca452ff Articulate --bad-sectors a bit better 2005-08-15 21:44:10 +00:00
szaka a9e02e7687 Hard link mkfs.ntfs and mkfs.ntfs.8 with mkntfs and mkntfs.8 2005-08-15 20:48:48 +00:00
flatcap 301c8bd331 tidy up complicated mft mess 2005-08-14 22:22:06 +00:00
flatcap 14ab52fb23 give the new file some dummy data 2005-08-14 16:08:44 +00:00
flatcap a1ef87e393 tidy up error message 2005-08-14 15:56:31 +00:00
cha0smaster 9028a53dfc Sorry it's very large commit (46K of diffs between my local tree and CVS HEAD
before commit), file and directory creation/deletion recursively requested many
changes. See ChangeLog for description of all changes.
2005-08-14 15:44:46 +00:00
flatcap 4e292d96f1 remove old version of dt_alloc_children
clean up inode handling
fix ridiculous mft reading bug
mftrec mark free -> set inuse
inc attrib instance ids
successfully create a file
2005-08-14 12:26:55 +00:00
flatcap fd54e78256 more code to start testing add
keep track of dir names
2005-08-11 13:59:08 +00:00
flatcap 8567df0b6d display year in long listing 2005-08-11 13:53:08 +00:00
antona 68aab0dacd Minor cleanup. 2005-08-10 11:33:10 +00:00
antona c9d112e9ea Fix ntfsdecrypt to also work with passwordless files. Note this
requires a patched gnutls library or it still does not work.  (Anton)
2005-08-10 10:17:03 +00:00
antona 8ffbca582f Add comment about broken gnutls empty password handling. 2005-08-09 11:07:26 +00:00
antona 5dd973f683 Fix some memleaks in ntfsdecrypt and do some cleanups there.
Fix testing whether to compile crypto code in configure.ac.
2005-08-09 10:57:40 +00:00
cha0smaster 6a9aca9a22 ntfsmount: fix small memleak 2005-08-08 13:14:41 +00:00
antona 16ed5a54b2 Fix breakage introduced by Yuval. 2005-08-06 14:46:42 +00:00
antona 518c9d6fee Deal with non-password better. 2005-08-06 14:37:31 +00:00
uvman cd37ed9527 fix a few warnings in ntfsdecrypt and make it work. 2005-08-06 14:17:31 +00:00
antona d0dd037463 Set password to NULL instead of empty string "" so GNU TLS assumes it is not
encrypted.
2005-08-06 06:11:56 +00:00
antona 640573bf12 Finish next stage in ntfsdecrypt evolution. It is now almost finished in that
it fully works to decrypt any ntfs enecrypted file both from Linux and Windows.
All you need to supply is your private key in form of a .prx file as exported
for example by the cypher command in XP SP2 or otherwise as exported by the
management console's certificate manager plugin.
2005-08-05 23:41:52 +00:00
szaka a0adaafe38 Credit Ralf Beyer 2005-08-05 17:28:41 +00:00
antona 8d86fdefec Fix make extra directly after ./configure. Thanks to Yuval for the bug report. 2005-08-04 13:12:41 +00:00
antona d658b8f019 Fix typo in ChangeLog (thanks Szaka!).
Do more detection in configure.ac and in particular check for getopt_long,
windows.h, wincrypt.h, and gcrypt.h and most importantly (for now) give command
line option to enable crypto stuff and autodetect if libgcrypt is present.
And only build ntfsdecrypt (still make extra only) only if both --enable-crypto
was specified AND libgcrypt was found.
2005-08-04 10:36:35 +00:00
antona 6124aafffb Move timeconv to ntfstime, update changelog, and news for new release. 2005-08-04 09:59:39 +00:00
szaka 4e8e7ae9fa Fix for ntfs_rl_truncate() EIO: always set the correct size for $BadClus:$Bad,
even if Windows set it incorrectly
2005-08-03 22:40:29 +00:00
cha0smaster 36c5f89d13 Fix ntfsmount warnings. 2005-08-03 22:29:14 +00:00
szaka 26bedb9462 rl_expand(): make it a bit more readable 2005-08-03 21:46:35 +00:00
szaka 22590fea7e rl_expand(): check if new length isn't already more than requested 2005-08-03 21:35:22 +00:00
cha0smaster 39ec2a8347 ntfsmount: perror => Eprintf on partial {read,write}. 2005-08-03 14:06:04 +00:00
cha0smaster fe67916350 * attrib.c: refix ntfs_attr_p{read,write}
* ntfsmount.c: code that now not really needed, but for any case
2005-08-03 13:52:50 +00:00
antona 55760d93e8 Remove include of openssl/md5.h as that is no longer used. 2005-08-02 09:48:42 +00:00
antona 7e53648b59 Fix a warning. 2005-08-02 09:44:58 +00:00
szaka 06052dafcf Replaced all occurances of ENOTSUP to EOPNOTSUPP to be in better harmony
with the kernel driver
2005-08-01 22:10:38 +00:00
cha0smaster fd2e6eb09d ntfsmount: fix nr_links for directories. 2005-08-01 22:04:27 +00:00
szaka cebd8ec132 White space cleanup 2005-08-01 20:33:26 +00:00
szaka 78297900bd Let the user know if the journal file couldn't be checked or was unlean 2005-08-01 20:22:24 +00:00
cha0smaster f7e5e1cc26 * Fix ntfs_attr_p{read,write}. (see Changelog)
* Minor fixes and some stubs for uncommitted code.
* Update README about ./autogen.sh.
2005-08-01 13:40:51 +00:00
cha0smaster 7aebba2e12 minor improvements to index.h and ntfsmount.c 2005-07-29 21:37:09 +00:00
antona 304f060a76 Add all Makefile.in to maintainer-clean target. 2005-07-29 15:51:49 +00:00
antona 69f55f1ee5 Remove all Makefile.in files and add them all to all .cvsignores. 2005-07-29 15:10:19 +00:00
antona 3ccd12241a Start the build system cleanup. Add AM_MAINTAINER_MODE to configure.ac and
remove configure and Makefile.in.  Also add Makefile.in to .cvsignore.
2005-07-29 15:04:57 +00:00
cha0smaster 4088de1017 Change errno and print more verbose message in case if logfile check failed. 2005-07-29 14:44:23 +00:00
antona 1a029f788e Remove Openssl linking in for decrypt.c from Makefile.am and update build
system.
2005-07-28 16:24:27 +00:00
antona 79e9e30ee3 Use libgcrypt instead of openssl for desx_key_expand's MD5 hashing. 2005-07-28 16:18:20 +00:00
antona 5b087e6d8a Fix a core dump. 2005-07-28 15:14:40 +00:00
antona f67d8fcee1 Use double indirection in case libgcrypt clones the key for you hack for
closing the des cipher.
2005-07-28 11:27:31 +00:00
antona 2546690ee1 Add EFS structure definitions to layout.h and adapt ntfsdecrypt for it.
More fixes/cleanups to decrypt.c.
This was all Yuval's work but I did some renaming afterwards and some
whitespace cleanups.
2005-07-28 10:36:31 +00:00