Commit Graph

64 Commits (b312a444839b02299d8e5e4285c145dab6350a98)

Author SHA1 Message Date
antona 6124aafffb Move timeconv to ntfstime, update changelog, and news for new release. 2005-08-04 09:59:39 +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 b39a2a401f - Move ntfs2utc and utc2ntfs from utils.[ch] to timeconv.h.
- Add [acm]time fields to struct ntfs_inode and set them during ntfs_inode_open.  Update ntfsmount to use them.
- Bump version, update autoscripts.
2005-07-20 19:06:28 +00:00
antona 47b52b54e3 Update changelog, fox more mkntfs bugs (thanks Timur!) and update build system
to SuSE 9.3 again.
2005-07-10 21:42:39 +00:00
antona 9cd8edce5f mkntfs: Fix backup bootsector creation. Thanks to Timur Amirkhanov
for pointing this stupidity out.  (We forgot to set the size before
doing it.)  (Anton)
2005-07-09 21:24:02 +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
antona b10eb4cb2d Minor cleanup 2005-06-06 14:29:47 +00:00
antona c4cb316418 mkntfs: Add new option -T which fakes the time to be 00:00:00 UTC,
Jan 1, 1970 instead of the current system time.
2005-06-03 22:22:12 +00:00
antona 8f45d909c1 Only output message that volume is being set dirty if we are actually setting
the dirty flag.  Otherwise the message is pointless.
2005-06-03 21:53:02 +00:00
szaka 683b707b43 Don't mark NTFS dirty if the backup boot sector could be created 2005-06-02 18:36:43 +00:00
void!yura d162076f14 fix some complier warning in mkntfs
(Logical change 1.662)
2005-01-17 14:59:52 +00:00
(none)!yura 14db887f8e Rename NTFS_SECTOR_SIZE to NTFS_BLOCK_SIZE to keep in sync with kernel driver.
(Logical change 1.653)
2005-01-11 20:28:28 +00:00
cantab.net!aia21 db7c9da42f Move NAttr{Sparse,Compressed,Encrypted} to inode struct preserving
the previous interface.  (Yura, with fixes from Anton)

(Logical change 1.645)
2004-12-22 14:04:41 +00:00
cantab.net!aia21 781e041a1f Change block to from unsigned long to unsigned long long in
append_to_bad_blocks() and mkntfs_fill_device_with_zeroes().

(Logical change 1.617)
2004-10-18 10:24:25 +00:00
cantab.net!aia21 8b3c03e173 Rename scpu_to_le{16,32,64}() to cpu_to_sle{16,32,64}() to match the kernel.
(Logical change 1.586)
2004-09-30 15:00:31 +00:00
cantab.net!aia21 1159ab3656 Cleanup the ntfs_mapping_pairs_build enhancement.
(Logical change 1.548)
2004-09-13 09:31:42 +00:00
(none)!yura 27e0e7a0c7 Add @stopped_at parameter to ntfs_mapping_pairs_build and adapt all callers.
(Logical change 1.547)
2004-09-12 18:46:04 +00:00
cantab.net!aia21 06086ae5c7 Add start_vcn parameter to ntfs_get_size_for_mapping_pairs() and
ntfs_mapping_pairs_build() and adapt all callers.

(Logical change 1.533)
2004-09-06 09:27:16 +00:00
cantab.net!aia21 abe69f1964 Fix memory leaks (Christophe).
(Logical change 1.516)
2004-08-30 20:41:14 +00:00
!uv 912044e09a printf format fixes.
(Logical change 1.507)
2004-08-20 12:18:22 +00:00
!uv 97df123793 Reorder struct members in order to align to 32 and 64 bit bounderies.
(Logical change 1.505)
2004-08-20 12:01:17 +00:00
!uv 27bf9c0ea0 Allow better compiler optimization/error checking.
(Logical change 1.504)
2004-08-20 11:58:24 +00:00
cantab.net!aia21 380f4f1ce1 Silence compiler warnings.
(Logical change 1.502)
2004-08-18 10:27:49 +00:00
cantab.net!aia21 dfde7adfd4 Add noreturn attribute to err_exit function. (Yuval)
(Logical change 1.453)
2004-07-13 13:04:02 +00:00
cantab.net!aia21 b2ce5e087c Update a forgotten comment.
(Logical change 1.406)
2004-06-01 16:29:45 +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 1e637d3709 Remove global rl as it was used only in one place. (Yuval, Anton)
(Logical change 1.382)
2004-04-23 14:27:09 +00:00
cantab.net!aia21 71c1fe3af8 Update
(Logical change 1.374)
2004-04-16 20:54:34 +00:00
cantab.net!aia21 4a5abe3242 Split up into multiple functions. (Yuval)
(Logical change 1.373)
2004-04-16 20:43:28 +00:00
cantab.net!aia21 c5a065d048 - Add new API device.[hc]::ntfs_device_heads_get() and make mkntfs use it.
- Provide a new command line option "-H" to mkntfs to allow the user to
  specify the number of heads manually.
- Add new API device.[hc]::ntfs_device_sectors_per_track_get() and make
  mkntfs use it.
- Provide a new command line option "-S" to mkntfs to allow the user to
  specify the number of sectors per track manually.

(Logical change 1.345)
2004-03-24 10:36:31 +00:00
cantab.net!aia21 d05932849c - Add new API device.[hc]::ntfs_device_partition_start_sector_get() and
make mkntfs use it.
- Provide a new command line option "-p" to allow the user to specify
  the partition start sector manually.
- Add include sys/ioctl.h to fix sector size detection.

(Logical change 1.336)
2004-03-17 12:22:03 +00:00
cantab.net!aia21 2bd298bc2d Add new API mft.[hc]::ntfs_mft_record_{layout,format}() and make
mkntfs use it.

(Logical change 1.335)
2004-03-15 12:50:18 +00:00
cantab.net!aia21 ab2da48e25 Use sizeof(MFT_RECORD_OLD) instead of sizeof(MFT_RECORD) as MFT_RECORD now
includes the NTFS 3.1+ specific fields.

(Logical change 1.333)
2004-03-15 11:34:30 +00:00
cantab.net!aia21 717484f223 Missed this one.
(Logical change 1.307)
2004-03-09 15:27:10 +00:00
cantab.net!aia21 ddeee65b8d Fix all occurences of printf with %ll length modifiers but 64 bit
arguments to typecast the arguments to (unsigned) long long to avoid
the warnings when compiling on 64 bit architectures.

(Logical change 1.306)
2004-03-09 14:47:34 +00:00
cantab.net!aia21 a6629ede03 And another compiler warning.
(Logical change 1.292)
2004-03-04 17:03:27 +00:00
cantab.net!aia21 852af74c58 Fix mkntfs for large volumes where the number of clusters would
exceed the maximum of 32 bits and mkntfs would segfault.  Now we
increase the cluster size until the number of clusters no longer
exceeds 32 bits or the maximum cluster size is reached.  We then
exit with an appropriate error message.  (Thanks to Szaka for the
bug report.)
Also fix some compiler warnings in mkntfs with --enable-maintainer-mode.

(Logical change 1.291)
2004-03-04 16:59:58 +00:00
cantab.net!aia21 6eb9812220 - Fix a duplicated free() in mkntfs. (Andras Erdei)
- Fix option display in mkntfs. (Andras Erdei)

(Logical change 1.285)
2004-02-26 13:48:16 +00:00
cantab.net!aia21 42e3faba21 Fix the fix. (-:
(Logical change 1.284)
2004-02-26 12:08:23 +00:00
cantab.net!aia21 6cecd0e726 Detect NO_NTFS_DEVICE_DEFAULT_IO_OPS and #error appropriately.
(Logical change 1.283)
2004-02-26 11:41:48 +00:00
cantab.net!aia21 536b80cb56 Fix bug in stoucs(). Thanks to Andras Erdei.
(Logical change 1.281)
2004-02-25 17:14:40 +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 a7a6c5cfe5 Fix the previous update...
2004/01/09 10:50:25+00:00 cantab.net!aia21
Update for newer glibc.

(Logical change 1.259)
2004-01-09 12:38:56 +00:00
cantab.net!aia21 0803017bb6 Fix warnings.
(Logical change 1.235)
2003-11-18 18:00:31 +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 c4c50f1270 __LINUX__ no longer works. Use linux instead.
(Logical change 1.166)
2003-07-31 14:12:36 +00:00
cantab.net!aia21 163d414c9f Can't use vol->dev->d_name before it is allocated! D'oh!
Thanks to Szaka for reporting this.

(Logical change 1.152)
2003-07-11 14:35:49 +00:00
cantab.net!aia21 e94dd2e634 Adapt to library changes.
(Logical change 1.139)
2003-06-03 11:07:54 +00:00
flatcap.org!flatcap 3987a55edd minor tidyup
(Logical change 1.117)
2003-02-09 22:55:20 +00:00