Commit Graph

57 Commits (b9422552da36367dd28a682378af8f5627f5eda2)

Author SHA1 Message Date
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
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
antona 151d0ecb61 Fix the double free that just got added. There was only half a memory leak...
It was a cut and paste error, not a real memory leak.
2005-09-27 18:03:00 +00:00
flatcap 6691212129 fix a memory leak - vol->vol_ni 2005-09-27 17:11:30 +00:00
antona 2a104d8eda Megapatch!!! Check evecrything!!! I probably broke everything!!! 2005-09-24 22:54:55 +00:00
szaka 24de91b8fa - Support journals which have been modified by chkdsk. (Anton, Szaka)
- Support journals ($LogFile) with only one restart page as well as
  journals with two different restart pages.  (Anton, Szaka)
2005-09-24 15:59:53 +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 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 4088de1017 Change errno and print more verbose message in case if logfile check failed. 2005-07-29 14:44:23 +00:00
cha0smaster fc2382b742 libntfs/volume.c: fix ntfs_check_if_mounted to cope with dirrerent names of same file.
ntfsprogs/ntfsmount.c: don't put relative path to /etc/mtab.
2005-07-18 02:09:43 +00:00
flatcap 7a142ef54c got bored. don't read the diffs. 2005-07-06 22:47:01 +00:00
flatcap 949043ab36 Tidy whitespace: trailing space; <space><tab> at the beginning of lines
Fix warnings about sign differences
Fix warnings about unused parameters
Tidy a few functions that didn't have { on a new line
2005-06-19 21:09:40 +00:00
szaka fbbefe0c70 - read-write ntfs_mount() returns EPERM if the partition is hibernated 2005-05-10 16:53:48 +00:00
szaka 16ffe6063d - remark that Longhorn uses the same NTFS 3.1 format as XP and W2K3 2005-05-10 16:44:58 +00:00
void!yura 51a83b1699 don't check logfile for readonly mounts
(Logical change 1.673)
2005-02-01 18:26:17 +00:00
void!yura 3ca5f1fc5d integrate logfile checking with mount
(Logical change 1.672)
2005-01-30 18:13:25 +00:00
void!yura 317f6f4b62 Make ntfs_logfile_reset use ntfs_empty_logfile.
(Logical change 1.666)
2005-01-25 21:41:25 +00:00
cantab.net!aia21 84a4fd30bf Refix the device memleak fix in error code path.
(Logical change 1.602)
2004-10-11 15:43:22 +00:00
flatcap.org!ntfs b0d1673503 Auto merged
2004/10/11 16:21:37+01:00 flatcap.org!ntfs
fix memleak on error path

(Logical change 1.601)
2004-10-11 15:25:18 +00:00
(none)!yura 419e3ce8b7 Remove inode.h::NIno{Clear,Set,}AttrListNonResident and attr_list_rl field from inode.h::_ntfs_inode struct. Adapt all users.
(Logical change 1.600)
2004-10-11 09:16:35 +00:00
cantab.net!aia21 93f8096673 Need to sync inodes before closing attributes or the umount fails.
(Logical change 1.555)
2004-09-16 08:18:52 +00:00
cantab.net!aia21 ad7acfacc2 Remove no longer needed forward declaration.
(Logical change 1.550)
2004-09-13 14:39:50 +00:00
cantab.net!aia21 b82469ba50 Remove vol->nr_mft_records and update all users. (Anton)
(Logical change 1.549)
2004-09-13 10:28:54 +00:00
!uv b15ad70b99 When <mntent.h> does not exist, some parameters may not be used.
(Logical change 1.504)
2004-08-20 11:58:24 +00:00
cantab.net!aia21 d33e7eaae4 Fix fallout from previous error output changes.
(Logical change 1.503)
2004-08-19 21:01:11 +00:00
cantab.net!aia21 4910ed561c Change all output to only appear if configure with --enable-debug by
using Dputs/Dprintf instead of fprintf(stderr,.

(Logical change 1.502)
2004-08-18 10:27:49 +00:00
cantab.net!aia21 3423a8a909 Rename uchar_t to ntfschar.
(Logical change 1.392)
2004-05-14 13:02:33 +00:00
cantab.net!aia21 9ae1b7306a Fix access of MFT_RECORD->bytes_in_use to use le32_to_cpu() instead
of le16_to_cpu() in libntfs/volume.c.  (Pete Curran)

(Logical change 1.391)
2004-05-14 08:07:19 +00:00
cantab.net!aia21 3cc9f21016 Update comments.
(Logical change 1.346)
2004-03-24 17:38:31 +00:00
cantab.net!aia21 ae7789dcd0 Support the case where $Volume does not have a $VOLUME_NAME
attribute in ntfs_device_mount() and let ntfslabel create the
attribute when it is not present.

(Logical change 1.339)
2004-03-19 10:21:05 +00:00
cantab.net!aia21 481241602c Change ntfs_get_attribute_value syntax to not have the MFT_RECORD as it
wasn't used anyway and the function is headed for death anyway...

(Logical change 1.332)
2004-03-15 10:54:47 +00:00
cantab.net!aia21 cb3b41894a Modify meaning of ntfs_volume->nr_mft_records to be the number of
initialized mft records, not total mft records.  This makes far more
sense and in fact reflects how nr_mft_records is being used in both
libntfs and the utilities.

(Logical change 1.326)
2004-03-12 15:50:52 +00:00
cantab.net!aia21 3f12891c07 Remove compiler warning by rearranging code a bit in ntfs_mount().
(Logical change 1.287)
2004-02-27 16:44:10 +00:00
cantab.net!aia21 4b12f1bfce Add NO_NTFS_DEVICE_DEFAULT_IO_OPS.
(Logical change 1.283)
2004-02-26 11:41:48 +00:00
cantab.net!aia21 441947337e Include config.h before any other non-ntfs headers.
(Logical change 1.279)
2004-02-20 14:44:16 +00:00
cantab.net!aia21 c9076ef627 - Apply patch from Szaka to fix all %L to %ll.
- Fix remaining %L ti %ll (compress.c).
- Run ./autogen.sh on SuSE 9.0.

(Logical change 1.263)
2004-01-15 16:57:10 +00:00
cantab.net!aia21 3244f17522 Enable lots of compiler warnings and fix warning from libntfs.
(Logical change 1.257)
2004-01-07 15:03:17 +00:00
cantab.net!aia21 9dec022b81 fix signed warnings
(Logical change 1.223)
2003-11-04 13:04:07 +00:00
flatcap.org!ntfs d0cc759878 Updates from Szaka
(Logical change 1.191)
2003-10-09 07:56:06 +00:00
cantab.net!aia21 f49930c0f4 ntfs_device_disk_io_ops is now ntfs_device_default_io_ops.
(Logical change 1.188)
2003-10-06 11:38:25 +00:00
cantab.net!aia21 951bacc20b Use hasmntopt only if it exists.
(Logical change 1.166)
2003-07-31 14:12:36 +00:00
cantab.net!aia21 c6069336f8 Improve the MS_RDONLY check.
(Logical change 1.153)
2003-07-12 15:46:12 +00:00
cantab.net!aia21 137b10dca8 Add ntfs_volume_alloc() for low level utilities.
2003/06/03 10:35:17+01:00 cantab.net!aia21
Cleanup and do not destroy the ntfs device structure when unmounting a volume.

(Logical change 1.139)
2003-06-03 11:07:54 +00:00
cantab.net!aia21 f0628dd514 Hopefully finished device io abstraction layer in the library.
(Logical change 1.138)
2003-06-02 08:53:04 +00:00
cantab.net!aia21 f75d0c5be5 Load the attribute definition table at mount time and free it at umount time.
(Logical change 1.72)
2002-12-29 12:17:35 +00:00
cantab.net!aia21 19c9c5dff3 ntfs_umount() now also does an fdatasync() on the device before closing it.
(Logical change 1.64)
2002-12-27 23:14:11 +00:00
cantab.net!aia21 ac10aa7709 Setup the cluster and mft allocators.
(Logical change 1.62)
2002-12-27 17:25:45 +00:00
cantab.net!aia21 cd92a29ccb Typo.
(Logical change 1.54)
2002-12-25 20:18:29 +00:00
cantab.net!aia21 36635b8fdc Typos.
(Logical change 1.53)
2002-12-25 19:25:39 +00:00