Commit Graph

1000 Commits (c41b7a65a1baf7dbfa39fc7585e91c7c403c9e81)

Author SHA1 Message Date
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