Commit Graph

739 Commits (85c866fceaaea43fdf7b7ee9a5ca8dbd08894097)

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